From: Stephen Kellett Date: 2006-09-23T09:10:10+09:00 Subject: Re: Wow! Jamis Buck + blog + GDB + C API == mind blowing coolness In message <6fd0654b0609221547x60874366ld181ee5f99b0c495@mail.gmail.com>, pat eyler writes >For those of you who don't follow Jamis Buck's blog (and why >don't you?) you should run, not walk, over to >http://weblog.jamisbuck.org/2006/9/22/inspecting-a-live-ruby-process >to get instructions on using GDB and the Ruby C API to get a >stack trace out of a running process. I'm guessing that there >may be more magic hiding in this corner, but Jamis has done a >great job of shining a light into it to get us started. The most amazing thing for me (that I get from this thread) is that people are amazed that gdb is so good when that was obvious in 1990. Its even better if you run it inside emacs as you can view your source in one window and gdb in the other (which you could also do in 1990). Stephen -- Stephen Kellett Object Media Limited http://www.objmedia.demon.co.uk/software.html Computer Consultancy, Software Development Windows C++, Java, Assembler, Performance Analysis, Troubleshooting