[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

how to retrieve current ruby stacktrace

Ray Chen

10/3/2006 5:48:00 AM

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

--
Posted via http://www.ruby-....

3 Answers

Ezra Zygmuntowicz

10/3/2006 6:11:00 AM

0


On Oct 2, 2006, at 10:47 PM, Ray Chen 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?
>
> Thanks
> Ray
>
> --
> Posted via http://www.ruby-....
>


http://weblog.jamisbuck.org/2006/9/25/gdb-wrappe...


-Ezra

Robert Klemme

10/3/2006 8:46:00 AM

0

Ray Chen <ray.c.chen@gmail.com> 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

MonkeeSage

10/3/2006 8:58:00 AM

0

Robert Klemme wrote:
> How about "ruby -debug"?

s/-debug/-d/

Regards,
Jordan