I can embed ‘debugger’ statements in my controllers or models, and this triggers breakpoints when I run my app via the webserver using ‘script/server –debugger''. However, when I run the app via the console using ‘rdebug script/ console’, the breakpoints are ignored. Is there a way to cause the ''debugger'' breakpoints to be recognized when running the app in the console?? Thanks, Andy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 20 May 2008, at 18:49, Arco wrote:> > I can embed ‘debugger’ statements in my controllers or models, and > this triggers breakpoints when I run my app via the webserver using > ‘script/server –debugger''. > > However, when I run the app via the console using ‘rdebug script/ > console’, the breakpoints are ignored. >Call require ''ruby-debug'' from the console. Fred> Is there a way to cause the ''debugger'' breakpoints to be recognized > when running the app in the console?? > > Thanks, Andy > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
That worked - many thanks. On May 20, 12:41 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 20 May 2008, at 18:49, Arco wrote: > > > > > I can embed ‘debugger’ statements in my controllers or models, and > > this triggers breakpoints when I run my app via the webserver using > > ‘script/server –debugger''. > > > However, when I run the app via the console using ‘rdebug script/ > > console’, the breakpoints are ignored. > > Call require ''ruby-debug'' from the console. > > Fred > > > Is there a way to cause the ''debugger'' breakpoints to be recognized > > when running the app in the console?? > > > Thanks, Andy--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---