diff --git a/lib/debug.rb b/lib/debug.rb index ce8b7d7fb9..6f519c6c77 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -427,7 +427,7 @@ class DEBUGGER__ pos = $2 if $1 klass = debug_silent_eval($1, binding) - file = $1 + file = File.expand_path($1) end if pos =~ /^\d+$/ pname = pos