ATF's JavaScript debugger and JSP debugger are not integrated together.
This may be something done in the future. I know people that have gotten
the ATF's JavaScript and the JSP debugger working together. What I have
been told is to you go to the servers view (Window>>Show
View>>Server>>Servers) and start the tomcat server in debug mode (Right
click on the server and there should be a debug menu option).This is
needed because the "Debug in Mozilla command" doesn't start the server in
debug mode. I will open a bug for this. Now right click on the JSP file
and do a "Debug in Mozilla command". My understanding is that you will hit
both JSP and JavaScript breakpoint. There will be two separate call stacks
in the debug view. One for the Tomcat server/JSP. I haven't actually tried
this since I'm not a JSP developer, There is one thing that I will
guarantee will not work is setting a breakpoint on the JavaScript in the
JSP file. The Server will need to generate some type of mapping code that
will give us the line number mapping of the JavaScript in the generated
HTML. This problem also exists when using PHP. Breakpoints in JavaScript
files should work.
Thanks
Bob
Robert Goodman
[EMAIL PROTECTED]
"Javier Pedemonte" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
08/28/2007 10:18 AM
Please respond to
AJAX Toolkit Framework discussion <[email protected]>
To
"AJAX Toolkit Framework discussion" <[email protected]>
cc
Subject
Re: [atf-dev] RE: ATF debugger does not suspend on breakpoint
On 8/28/07, Rasoul Firoz <[EMAIL PROTECTED]> wrote:
How do you start a JS debugger?
You need to run "Debug in Mozilla" on an HTML or JSP file that calls the
JS files you wish to debug.
The JS files run within the context of a web page, so you cannot run/debug
a JS file directly.
Javier Pedemonte
ATF Developer
_______________________________________________
atf-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/atf-dev
_______________________________________________
atf-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/atf-dev