From: Alex Gutteridge Date: 2007-05-25T16:19:25+09:00 Subject: Re: Ruby - Debugging On 25 May 2007, at 15:42, Tomas Pospisek's Mailing Lists wrote: > On Fri, 25 May 2007, Jorge Domenico Bucaran Romano wrote: > >> C:\Users\jbucaran>ruby -rdebug c:\users\jbucaran\desktop\demo2.rb >> Debug.rb >> Emacs support available. >> >> C:/Program Files/Ruby/lib/ruby/site_ruby/1.8/ubygems.rb:10:require >> 'rubygems' >> (rdb:1) b "c:\users\jbucaran\desktop\demo2.rb" >> C:/Program Files/Ruby/lib/ruby/site_ruby/1.8/ubygems.rb:10:compile >> error >> C:/Program Files/Ruby/lib/ruby/site_ruby/1.8/ubygems.rb:10: >> unterminated >> string >> meets end of file >> (rdb:1) >> >> I am sorry to bother like this, but is there any way I could get >> serious >> documentation on how to use this, a good tutorial, maybe you can >> help me >> here with a fine start. Please I can't believe it is so hard to do >> this. > > Did you ask Google? > > In your example above a file named "ubygems" is being parsed. Looks > like non-sense to me? > *t ubygems.rb is the way rubygems is loaded when you run: ruby -rubygems I don't think that is anything to do with the problem Jorge is having. I'm not sure what the problem is do with though and I can't reproduce it on my system. Sorry I can't be off more help. The only tutorial I know of is the Pickaxe chapter on debugging - but there's not much to it to be honest: http://www.rubycentral.com/book/trouble.html Alex Gutteridge Bioinformatics Center Kyoto University