Debugging with ruby 1.9.1 [message #543358] |
Tue, 29 June 2010 08:21 |
Ian Dickinson Messages: 7 Registered: July 2009 |
Junior Member |
|
|
I'm not having any success trying to debug ruby 1.9.1 code under DLTK 2.0. If I select the Ruby built-in debugger, and then try to debug a script, I get an error dialog box and the following in the console:
Quote: | /tmp/dltk1440.tmp/debugger/AbstractRunner.rb:97: warning: else without rescue is useless
/tmp/dltk1440.tmp/debugger/BasicRunner.rb:10:in `require': /tmp/dltk1440.tmp/debugger/AbstractRunner.rb:94: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' (SyntaxError)
when nil: NullLogManager.new
^
/tmp/dltk1440.tmp/debugger/AbstractRunner.rb:95: syntax error, unexpected keyword_when, expecting keyword_end
when 'stdout': StdoutLogManager.new
^
/tmp/dltk1440.tmp/debugger/AbstractRunner.rb:95: syntax error, unexpected ':', expecting keyword_end
when 'stdout': StdoutLogManager.new
^
/tmp/dltk1440.tmp/debugger/AbstractRunner.rb:105: syntax error, unexpected keyword_end, expecting $end
from /tmp/dltk1440.tmp/debugger/BasicRunner.rb:10:in `<top (required)>'
from /usr/bin/ruby1.9.1:0:in `require'
|
I've also installed ruby-debug19, but when I try to launch a script after selecting the Fast ruby debugger engine, I get an error saying that ruby-debug is not installed. Ruby-debug (as opposed to ruby-debug19) won't install, saying that 1.9 is not supported.
Any suggestions for debugging Ruby 1.9.1 under DLTK 2.0 would be very welcome.
Thanks,
Ian
|
|
|
|
Powered by
FUDForum. Page generated in 0.02279 seconds