tags:

views:

71

answers:

2

I'm thinking of writing a basic ruby debugger (interactive), Can you direct me to some resources or projects to learn more?

Thanks in advance!

+2  A: 

I guess you mean a Ruby debugger implemented in Ruby. A good place to start would be to take a look at the introspection and reflection interfaces documented here

If you want to be a bit more adventurous you could look at the source for ruby-debug

Chris McCauley
Thanks for your reply! I'm already browsing the ruby-debug code. Also I'm using jruby - does it affect your answer in any way? (Sorry for poor english)
instantsetsuna
A: 

A simple introduction into debuggers: http://t-a-w.blogspot.com/2007/03/how-to-code-debuggers.html.
It even has a small part using ruby hashes as an example.

bennybdbc
Nice link, really interesting.
Chris McCauley
Thank you! But this doesn't help me much as I use JRuby :(
instantsetsuna
Oh well. Maybe someone else reading the question will find it useful.
bennybdbc
Yes, that's very true! :)
instantsetsuna