Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » ruby development tools 2.0 contains plugin with version 1.0?
ruby development tools 2.0 contains plugin with version 1.0? [message #658088] Sun, 06 March 2011 07:41 Go to next message
Lisa Wang is currently offline Lisa WangFriend
Messages: 1
Registered: March 2011
Junior Member
Dear All,

I upgraded Ruby development tools to 2.0 and switch to ruby 1.9.2 recently. But I found that I can't debug my code, no matter using native debugger or fast debugger.

If I set "Check if ruby-debug is installed", it will remind me that the ruby-debug is not installed even I installed ruby-debug19

If I reset the option or use native debug, it will output the following error message,

C:/DOCUME~1/LISA~1.WAN/LOCALS~1/Temp/dltk54444.tmp/debugger/ AbstractRunner.rb:97: warning: else without rescue is useless
<internal:lib/rubygems/custom_require>:29:in `require': C:/DOCUME~1/LISA~1.WAN/LOCALS~1/Temp/dltk54444.tmp/debugger/ AbstractRunner.rb:94: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' (SyntaxError)
when nil: NullLogManager.new
^
C:/DOCUME~1/LISA~1.WAN/LOCALS~1/Temp/dltk54444.tmp/debugger/ AbstractRunner.rb:95: syntax error, unexpected keyword_when, expecting keyword_end
when 'stdout': StdoutLogManager.new
^
C:/DOCUME~1/LISA~1.WAN/LOCALS~1/Temp/dltk54444.tmp/debugger/ AbstractRunner.rb:95: syntax error, unexpected ':', expecting keyword_end
when 'stdout': StdoutLogManager.new
^
C:/DOCUME~1/LISA~1.WAN/LOCALS~1/Temp/dltk54444.tmp/debugger/ AbstractRunner.rb:105: syntax error, unexpected keyword_end, expecting $end
from <internal:lib/rubygems/custom_require>:29:in `require'
from C:/DOCUME~1/LISA~1.WAN/LOCALS~1/Temp/dltk54444.tmp/debugger/ FastRunner.rb:10:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'



I studied and found that the debug/debugger support plugins in Ruby Development Tools 2.0 are still 1.0.

Any suggestions?

Thanks,
Lisa
Re: ruby development tools 2.0 contains plugin with version 1.0? [message #715891 is a reply to message #658088] Mon, 15 August 2011 21:34 Go to previous message
Jon Tara is currently offline Jon TaraFriend
Messages: 1
Registered: August 2011
Location: San Diego, CA
Junior Member
Similar problem here, though the exact details of the error messages differ somewhat.

As far as I can tell, debugging with Ruby 1.9.2 is completely broken in the current DLTK. I can't debug using either the fast debugger OR built-in debugger.

I can debug in Ruby 1.8.7, though.

Eclipse Version: 3.7.0
Build id: I20110613-1736

OSX Snow Leopard 10.6.8

Ruby 1.9.2-p290

/var/folders/dt/dtWm5oE6FRuDqu2R1KYfzU+++TI/-Tmp-/dltk46422.tmp/debugger/AbstractRunner.rb:97: warning: else without rescue is useless
<internal:lib/rubygems/custom_require>:29:in `require': /var/folders/dt/dtWm5oE6FRuDqu2R1KYfzU+++TI/-Tmp-/dltk46422.tmp/debugger/AbstractRunner.rb:94: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' (SyntaxError)
when nil: NullLogManager.new
^
/var/folders/dt/dtWm5oE6FRuDqu2R1KYfzU+++TI/-Tmp-/dltk46422.tmp/debugger/AbstractRunner.rb:95: syntax error, unexpected keyword_when, expecting keyword_end
when 'stdout': StdoutLogManager.new
^
/var/folders/dt/dtWm5oE6FRuDqu2R1KYfzU+++TI/-Tmp-/dltk46422.tmp/debugger/AbstractRunner.rb:95: syntax error, unexpected ':', expecting keyword_end
when 'stdout': StdoutLogManager.new
^
/var/folders/dt/dtWm5oE6FRuDqu2R1KYfzU+++TI/-Tmp-/dltk46422.tmp/debugger/AbstractRunner.rb:105: syntax error, unexpected keyword_end, expecting $end
from <internal:lib/rubygems/custom_require>:29:in `require'
from /var/folders/dt/dtWm5oE6FRuDqu2R1KYfzU+++TI/-Tmp-/dltk46422.tmp/debugger/FastRunner.rb:10:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
Previous Topic:Multiple languages per project
Next Topic:Tcl Remote debugging
Goto Forum:
  


Current Time: Tue Apr 23 07:05:54 GMT 2024

Powered by FUDForum. Page generated in 0.03313 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top