18 Jul 13:50
Re: [nbajax] Would like a better idea of how javascript debugging is meant to work with templates (e.g. erb/rhtml)
From: Anthony Richardson <list.netbeans@...>
Subject: Re: [nbajax] Would like a better idea of how javascript debugging is meant to work with templates (e.g. erb/rhtml)
Newsgroups: gmane.comp.java.netbeans.modules.ruby.devel
Date: 2008-07-18 11:50:40 GMT
Expires: This article expires on 2008-08-01
Subject: Re: [nbajax] Would like a better idea of how javascript debugging is meant to work with templates (e.g. erb/rhtml)
Newsgroups: gmane.comp.java.netbeans.modules.ruby.devel
Date: 2008-07-18 11:50:40 GMT
Expires: This article expires on 2008-08-01
On Fri, Jul 18, 2008 at 2:15 AM, Sandip Chitale <Sandip.Chitale-xsfywfwIY+M@public.gmane.org> wrote:
Cool, no problem, I couldn't see how debugging templates (erb/rhtml) was going to work so this makes sense. I think something needs to be done to make this more intuative in the IDE however, but will fire a new thread to discuss this.
I'm not sure what part of what you mentioned above related to this, can you elaborate?
I think this is going to cause a lot of end user confusion. As I mentioned I will start another thread about this.
Thank you very much for the feedback.
Cheers,
Anthony Richardson
Anthony Richardson wrote:Cross posted to nbajax-gVrGfPuBK2Jg9hUCZPvPmw@public.gmane.org <mailto:nbajax-gVrGfPuBK2Jg9hUCZPvPmw@public.gmane.org> and dev-n3CzLFQkLgrXWKka9uoeGti2O/JbrIOy@public.gmane.org <mailto:dev-n3CzLFQkLgrXWKka9uoeGti2O/JbrIOy@public.gmane.org>In 6.5 it is only possible to set the breakpoints in html and javascript files
Cool, no problem, I couldn't see how debugging templates (erb/rhtml) was going to work so this makes sense. I think something needs to be done to make this more intuative in the IDE however, but will fire a new thread to discuss this.
I can also get breakpoints working with included JS files, but only if they don't have parameters(isses #140442)
See above.
I'm not sure what part of what you mentioned above related to this, can you elaborate?
The breakpoints in RHTML file are server side breakpoints. To debug RHTML files you will have to use the technique described above.
In the past I have got the debugger to stop at some breakpoints in a rhtml file that was a single rhtml with no layouts or partials (not the Rails default way of doing things). But the debugging features were broken after it has stopped and there was nothing you could do except cancel the debugging session. I haven't been able to repeat this limited success with later builds and using erb files.
I think this is going to cause a lot of end user confusion. As I mentioned I will start another thread about this.
Thank you very much for the feedback.
Cheers,
Anthony Richardson
RSS Feed