Skip to content

Commit 77be0ec

Browse files
committed
1 parent 81aa3f9 commit 77be0ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/ruby-debug-ide.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ def debug_program(options)
109109
@proceed.wait(@mutex)
110110
end
111111

112-
bt = debug_load(Debugger::PROG_SCRIPT, options.stop, options.load_mode)
112+
abs_prog_script = File.absolute_path(Debugger::PROG_SCRIPT)
113+
bt = debug_load(abs_prog_script, options.stop, options.load_mode)
113114
if bt && !bt.is_a?(SystemExit)
114115
$stderr.print bt.backtrace.map{|l| "\t#{l}"}.join("\n"), "\n"
115116
$stderr.print "Uncaught exception: #{bt}\n"

0 commit comments

Comments
 (0)