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







At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)

bkocik 09/01/2010

Message not available

At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)

bkocik 09/02/2010

Re: At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)

Erno Mononen 09/06/2010

Re: At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)

Matt Slay 09/06/2010

Re: At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)

Paul 09/08/2010

At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)

bkocik 09/07/2010

At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)

nicolas 09/08/2010

At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)

baldmark 09/10/2010

At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)

corck 09/15/2010

At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)

baldmark 09/15/2010

At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)

corck 09/16/2010

At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)

dzajic 09/16/2010

At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)

djlewis 09/30/2010

At my wit's end (debugging a Rails 3.0/Ruby 1.9.2 app)

djlewis 09/30/2010

Project Features

About this Project

Ruby was started in November 2009, is owned by Petr Jiricka, and has 71 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close