R
RichardOnRails
Hi All,
Following is a Command window session trying to run Ruby Debugger on a
trivial program. The debugger seems to be stuck in "ubygems.rb" in my
Ruby installation rather than in my test program. Is my installation
messed up?
I'm running ruby 1.8.2 (2004-12-25) [i386-mswin32] on WinXP/SP2.
Thanks in Advance,
Richard
K:\_Projects\Ruby\_Ruby_Tests\TestDebugging>type TestDebugging101.rb
# TestDebugging101.rb
# K:\_Projects\Ruby\_Ruby_Tests\TestDebugging
p 'Line 3'
p 'Line 4'
K:\_Projects\Ruby\_Ruby_Tests\TestDebugging>ruby -rdebug
TestDebugging101.rb
Debug.rb
Emacs support available.
K:/_Utilities/Ruby_1.8.2-15/ruby/lib/ruby/site_ruby/1.8/ubygems.rb:
10:require 'rubygems'
(rdb:1) l
[5, 14] in K:/_Utilities/Ruby_1.8.2-15/ruby/lib/ruby/site_ruby/1.8/
ubygems.rb
5 # All rights reserved.
6 # See LICENSE.txt for permissions.
7 #++
8
9
=> 10 require 'rubygems'
(rdb:1)
Following is a Command window session trying to run Ruby Debugger on a
trivial program. The debugger seems to be stuck in "ubygems.rb" in my
Ruby installation rather than in my test program. Is my installation
messed up?
I'm running ruby 1.8.2 (2004-12-25) [i386-mswin32] on WinXP/SP2.
Thanks in Advance,
Richard
K:\_Projects\Ruby\_Ruby_Tests\TestDebugging>type TestDebugging101.rb
# TestDebugging101.rb
# K:\_Projects\Ruby\_Ruby_Tests\TestDebugging
p 'Line 3'
p 'Line 4'
K:\_Projects\Ruby\_Ruby_Tests\TestDebugging>ruby -rdebug
TestDebugging101.rb
Debug.rb
Emacs support available.
K:/_Utilities/Ruby_1.8.2-15/ruby/lib/ruby/site_ruby/1.8/ubygems.rb:
10:require 'rubygems'
(rdb:1) l
[5, 14] in K:/_Utilities/Ruby_1.8.2-15/ruby/lib/ruby/site_ruby/1.8/
ubygems.rb
5 # All rights reserved.
6 # See LICENSE.txt for permissions.
7 #++
8
9
=> 10 require 'rubygems'
(rdb:1)