Skip to content

Commit b5455fd

Browse files
committed
fix debug running on 1.8.7
1 parent 77be0ec commit b5455fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby-debug-ide.rb

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

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

0 commit comments

Comments
 (0)