Re:Using GDB to inspect a running Ruby process
by garysweaver on Sunday April 07, 2013 @10:12AM
(#5507249)
A few other helpful tools are:
That works a lot, but in some cases it can get caught in a loop where it doesn't print the trace. When that happens, or if I want to just see method calls, etc. I'll use a tool I wrote called autolog:
Then in the code:
Autolog is basically a quick and hopefully more intuitive way of using Ruby's set_trace_func. If all of those don't work, I've listed a few other options in the README that others have mentioned: https://github.com/garysweaver/autolog
[ Parent
| on HN ]
There are no comments on this comment yet.