Bugs item #6282, was opened at 2006-10-23 07:17
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=6282&group_id=426

Category: Standard Library
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Ondrej Bilka (eirik)
Assigned to: Nobody (None)
Summary: loading file again doesnt update debugger text

Initial Comment:
def debug_eval(s)
f=File.new("tmp","w")
f.puts(s)
f.close
load "tmp"
end
require 'debug'
debug_eval("p 3\n p 4")
debug_eval("p 5\n p 6")

Debugging this is misleading when you go to p 5\n p 6 debugger still show as source p 3 and p 4


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=6282&group_id=426