Reputation: 9603
I'm thinking of writing a basic Ruby debugger (interactive). Can you direct me to some resources or projects to learn more from?
Upvotes: 3
Views: 264
Reputation: 1425
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.
Upvotes: 4
Reputation: 26383
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
Upvotes: 3