We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81aa3f9 commit 77be0ecCopy full SHA for 77be0ec
lib/ruby-debug-ide.rb
@@ -109,7 +109,8 @@ def debug_program(options)
109
@proceed.wait(@mutex)
110
end
111
112
- bt = debug_load(Debugger::PROG_SCRIPT, options.stop, options.load_mode)
+ abs_prog_script = File.absolute_path(Debugger::PROG_SCRIPT)
113
+ bt = debug_load(abs_prog_script, options.stop, options.load_mode)
114
if bt && !bt.is_a?(SystemExit)
115
$stderr.print bt.backtrace.map{|l| "\t#{l}"}.join("\n"), "\n"
116
$stderr.print "Uncaught exception: #{bt}\n"
0 commit comments