# Debugging Ruby

**URL:** <https://www.ruby-forum.com/t/debugging-ruby/91783>\
**Category:** Ruby\
**Created:** [April 12, 2007, 10:44am UTC](https://www.ruby-forum.com/t/debugging-ruby/91783 "2007-04-12T10:44:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![celldee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/76d3ee/32.png) [@celldee](https://www.ruby-forum.com/u/celldee)\
**Post date:** [April 12, 2007, 10:44am UTC](https://www.ruby-forum.com/t/debugging-ruby/91783/1 "2007-04-12T10:44:43Z")

</div>

Every so often I have to resort to using a debugger. I quite like  
ruby-  
debug, but I was wondering whether there are any other options worth  
considering that I’d missed. Any suggestions?

Regards,

Chris  
htttp://rotsog.wordpress.com

---

<div class="post-metadata">

**Author:** ![celldee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/76d3ee/32.png) [@celldee](https://www.ruby-forum.com/u/celldee)\
**Post date:** [April 13, 2007, 11:54am UTC](https://www.ruby-forum.com/t/debugging-ruby/91783/2 "2007-04-13T11:54:45Z")

</div>

celldee wrote:

> Every so often I have to resort to using a debugger. I quite like  
> ruby-  
> debug, but I was wondering whether there are any other options worth  
> considering that I’d missed. Any suggestions?

Two days ago I’ve been curious about the similar. I’ve read through  
various articles and accumulate the following:

[http://debug-commons.rubyforge.org/\_miscellaneous/ruby-debugging.html](http://debug-commons.rubyforge.org/_miscellaneous/ruby-debugging.html)

And there is surely more. Was just a quick run. It is just a template  
for now, just take a look at TOC + some links below the TOC or Google  
those frontends.

A lot of frontends (RDT, NetBeans, Emacs, RadRails (=RDT), …) somehow  
utilizes ruby-debug-base so you get almost the same speed as with the  
ruby-debug-cli.

m.

---

<div class="post-metadata">

**Author:** ![celldee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/76d3ee/32.png) [@celldee](https://www.ruby-forum.com/u/celldee)\
**Post date:** [April 13, 2007, 9:23pm UTC](https://www.ruby-forum.com/t/debugging-ruby/91783/3 "2007-04-13T21:23:14Z")

</div>

> > I was wondering whether there are any other options worth  
> > considering that I’d missed. Any suggestions?

Not exactly a debugger, but an important technique for troubleshooting  
interesting problems (deadlocks, mysterious crashes etc):

[http://weblog.jamisbuck.org/2006/9/22/inspecting-a-live-ruby-process](http://weblog.jamisbuck.org/2006/9/22/inspecting-a-live-ruby-process)
