At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)
- From: "baldmark" < >
- To:
- To:
- Subject: At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)
- Date: Fri, 10 Sep 2010 23:56:54 +0000
Based on what Nicholas did I think I have generalised it for multiple Ruby /
Rails projects by replacing the line
bt = debug_load(Debugger::PROG_SCRIPT, options.stop, options.load_mode)
around line 125 of ruby-debug-ide.rb with
if Debugger::PROG_SCRIPT == 'script/rails'
ps = `pwd`.chomp+'/script/rails'
else
ps = Debugger::PROG_SCRIPT
end
bt = debug_load(ps, options.stop, options.load_mode)
I don't have the confidence to attempt a 'proper' solution but (in my limited
experience - I am a newbie) I can't see what this doesn't work for.
Mark
| bkocik | 09/01/2010 | |
|
Message not available |
||
| bkocik | 09/02/2010 | |
| Erno Mononen | 09/06/2010 | |
| Matt Slay | 09/06/2010 | |
| Paul | 09/08/2010 | |
| bkocik | 09/07/2010 | |
| nicolas | 09/08/2010 | |
|
At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app) |
baldmark | 09/10/2010 |
| corck | 09/15/2010 | |
| baldmark | 09/15/2010 | |
| corck | 09/16/2010 | |
| dzajic | 09/16/2010 | |
| djlewis | 09/30/2010 | |
| djlewis | 09/30/2010 |
