ruby -r debug

K

kiksen1

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top