How to retrieve current ruby stacktrace

My ruby program is stuck somewhere on some blocking call, but I don’t
know where. Any way to probe it for a stack trace without sending it a
kill signal? What are some debugger tools for something like this?

Thanks
Ray

On Oct 2, 2006, at 10:47 PM, Ray C. wrote:

http://weblog.jamisbuck.org/2006/9/25/gdb-wrapper-for-ruby

-Ezra

Ray C. [email protected] wrote:

My ruby program is stuck somewhere on some blocking call, but I don’t
know where. Any way to probe it for a stack trace without sending it
a kill signal? What are some debugger tools for something like this?

How about “ruby -debug”?

robert

Robert K. wrote:

How about “ruby -debug”?

s/-debug/-d/

Regards,
Jordan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs