But I cannot get the debugger to work (0.9.9.1 RDE, 1.7 Ruby). When I
set a breakpoint and start debug I get:
ruby.exe: No such file to load – debug2 (LoadError)
I did find a file “debug2.rb” in the RDE distribution, and a file
"debug.rb" in the Ruby 1.7 distribution. If I rename “debug.rb” to
"debug2.rb" I seem to get past this and into a debug session, but
things don’t work right (e.g. step-into does not).
But I cannot get the debugger to work (0.9.9.1 RDE, 1.7 Ruby).
When I
set a breakpoint and start debug I get:
ruby.exe: No such file to load – debug2 (LoadError)
I did find a file “debug2.rb” in the RDE distribution, and a file
“debug.rb” in the Ruby 1.7 distribution. If I rename “debug.rb” to
“debug2.rb” I seem to get past this and into a debug session, but
things don’t work right (e.g. step-into does not).
You need to copy debug2.rb included in the RDE distribution
to the ruby’s library directory. You can do it automatically
by running install.rb included in the distro. It’s documented
in the Install/Uninstall section of the accompanying help file.