# Small Ruby IDE (Debugging)

**URL:** <https://www.ruby-forum.com/t/small-ruby-ide-debugging/104812>\
**Category:** Ruby\
**Created:** [May 22, 2007, 8:41pm UTC](https://www.ruby-forum.com/t/small-ruby-ide-debugging/104812 "2007-05-22T20:41:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbucaran](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/838e76/32.png) [@jbucaran](https://www.ruby-forum.com/u/jbucaran)\
**Post date:** [May 22, 2007, 8:41pm UTC](https://www.ruby-forum.com/t/small-ruby-ide-debugging/104812/1 "2007-05-22T20:41:00Z")

</div>

Hi,

As a project of mine I want to build a very simple and small IDE for  
Ruby. It will contain basically 4 key things I need and like:

@Project organizing  
@Code completion  
@Syntax highlighting  
@Debugging

All but the last one is giving me trouble, I have no idea of how this  
can be done, I think the Ruby interpreter has some debugging  
capabilities and I think I will be relying on it for my purposes, but I  
don’t know how or where to start.

Please help me first in how to debug a Ruby application, then how could  
I use this to build a debugger that talks to the interpreter.

Regards, Jorge

---

<div class="post-metadata">

**Author:** ![jbucaran](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/838e76/32.png) [@jbucaran](https://www.ruby-forum.com/u/jbucaran)\
**Post date:** [May 22, 2007, 8:49pm UTC](https://www.ruby-forum.com/t/small-ruby-ide-debugging/104812/2 "2007-05-22T20:49:19Z")

</div>

On 5/22/07, Jorge Domenico Bucaran R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Please help me first in how to debug a Ruby application, then how could  
> I use this to build a debugger that talks to the interpreter.

I’ve seen a graphical debugger for Ruby named “rudebug”. I believe you  
can install it as a gem, and it should give you some inspiration.

---

<div class="post-metadata">

**Author:** ![jbucaran](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/838e76/32.png) [@jbucaran](https://www.ruby-forum.com/u/jbucaran)\
**Post date:** [May 22, 2007, 8:53pm UTC](https://www.ruby-forum.com/t/small-ruby-ide-debugging/104812/3 "2007-05-22T20:53:02Z")

</div>

Bira wrote:

> On 5/22/07, Jorge Domenico Bucaran R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Please help me first in how to debug a Ruby application, then how could  
> > I use this to build a debugger that talks to the interpreter.
> 
> I’ve seen a graphical debugger for Ruby named “rudebug”. I believe you  
> can install it as a gem, and it should give you some inspiration.

I will check that out, but still, how do I debug in Ruby? How does it  
work?

---

<div class="post-metadata">

**Author:** ![jbucaran](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/838e76/32.png) [@jbucaran](https://www.ruby-forum.com/u/jbucaran)\
**Post date:** [May 23, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/small-ruby-ide-debugging/104812/4 "2007-05-23T21:02:00Z")

</div>

Jorge Domenico Bucaran R. wrote:

> Bira wrote:
> 
> > On 5/22/07, Jorge Domenico Bucaran R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> > 
> > > Please help me first in how to debug a Ruby application, then how could  
> > > I use this to build a debugger that talks to the interpreter.  
> > > I’ve seen a graphical debugger for Ruby named “rudebug”. I believe you  
> > > can install it as a gem, and it should give you some inspiration.
> 
> I will check that out, but still, how do I debug in Ruby? How does it  
> work?

I’m trying to collect ruby-debugging related information on:

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

It is incomplete and also little obsolete (e.g. Florian’s rudebug is  
missing). I want to update it cca in one month or put it on some wiki.  
Since it is surely work for more people 😉

m.
