NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Some help maybe (Score:2)
http://weblog.jamisbuck.org/2006/9/22/inspecting-a-live-ruby-process [jamisbuck.org]
Be sure to follow the comments, too.
Re:Some help maybe (Score:1)
Ah, gleaning the information from backtrace() is nicer than using rb_eval() which would be my normal first pass trick. That is, in any language like Perl, Ruby, or I assume Python, if there's a C API that exposes an eval() function, you can get enormous powers just by driving eval() from gdb.
FWIW and because I the weblog.jamisbuck.org blog software comments aren't working for me, the clean bit of fu to glark the call stack is packaged as a GDB function thusly:
HOWEVER.
This still misses the point since what I originally complained of, the arguments to the functions are *still* missing and for exactly the same reasons.
Reply to This
Parent