Niels Berglund continues his R Services internals series:
When browsing for the symbols, you can use this command:
x /1 *!TCP*
. By using the option/1
you’ll only see the names, and no addresses. On my machine that gives me quite a lot, but there are two entries that catch my eye:sqllang!Tcp::AcceptConnection
andsqllang!Tcp::Close
. So let us set breakpoints at those two symbols, and see what happens when we execute our code.The result when executing the code is that we initially break at
sqllang!Tcp::AcceptConnection
. Followed somewhat later by breaking atsqllang!Tcp::Close
. Cool, this seems to work – let us set some more breakpoints and try to figure out the flow of events.
The first half recapitulates his previous findings, and then he incorporates new information in the second half.