From: Roger Pack Date: 2010-02-14T12:21:04+09:00 Subject: Re: how to use rdebug in ruby script > require 'rdebug' at the location where you want to start debugging. > That worked for me Which rdebug is it loading ("gem which rdebug")? My system doesn't seem to have that file. When I do a require 'debug' it drops me to a console, but then doesn't seem to know how to deal with the sourcefile right. E:\dev\ruby\p2pwebclient\final>ruby -v long.rb ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-mingw32] Debug.rb Emacs support available. long.rb:3: (rdb:1) list [-2, 7] in long.rb No sourcefile available for long.rb But maybe that's just a windows thing. -r -- Posted via http://www.ruby-forum.com/.