[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

ruby -r debug

kiksen1

5/17/2006 7:19:00 AM

Hello All!

I have a problem using "ruby -rdebug myprog.rb". I tried my first
debugging session, but even with "n" the debugger seems to step in all
methods.

D:\myruby\sax>ruby -rdebug saxtest.rb
Debug.rb
Emacs support available.

saxtest.rb:1:puts "HIER"
(rdb:1) n
HIER
saxtest.rb:2:require "rexml/document"
(rdb:1) n
d:/ruby/lib/ruby/1.8/rexml/document.rb:1:require "rexml/element"
(rdb:1) n
d:/ruby/lib/ruby/1.8/rexml/element.rb:1:require "rexml/parent"
(rdb:1)

The debugger should not go in require in line 2. Whats wrong? Are there
any environment variables I need to set?

I installed the latest stable windows binarys.

Thank you very much!
Christian