解决eclispe中ruby-debug-ide19找不到路径
找到ruby-debug-ide文件,更改
?
bt = debug_load(Debugger::PROG_SCRIPT, options.stop, options.load_mode) #no need to modify this file. #C:\Ruby192\lib\ruby\gems\1.9.1\gems\ruby-debug-ide19-0.4.12\bin\rdebug-ide #C:\Ruby192\bin\rdebug-ide #bt = debug_load('./script/rails', options.stop, options.load_mode)?
找到rdebug-ide文件,更改以下代码:
?
# save script namescript = ARGV.shift#Debugger::PROG_SCRIPT = (script =~ /script([\\\/])rails/ ? Dir.pwd + $1 : '') + scriptDebugger::PROG_SCRIPT = "./" + script#Debugger::PROG_SCRIPT = ARGV.shift