- This topic has 5 replies, 2 voices, and was last updated 17 years, 11 months ago by Riyad Kalla.
-
AuthorPosts
-
curmudgeon99ParticipantI am using a licensed copy of ME Version 5.1.0 GA, Build 20061111-5.1.0-GA on WindowsXP.
I have a web project in which I am trying to get the JavaScript debugger to stop on a breakpoint but it never does.
I have followed the “MyEclipse JavaScript Development and Debugging Quickstart”, which led me to right-click on my JavaScript script in my JSP and define a new JavaScript launch configuration and to specify the launch URL as the same localhost URL that I use to test my application on the local JRun application server. Finally, I have taken the step of using the internal Eclipse browser to test but, alas, I can never get it to stop on my JavaScript breakpoint.
In short, what am I doing wrong?
thank you
Riyad KallaMemberLet’s try something even easier. Run your app, click the Web2.0 Browser button from the toolbar, that will pop open the browser. Navigate to your running application, once it’s loaded up, click the Instant-On debugging button, which should load up all the resources from your app and all the JavaScript, and then perform the action that will cause your breakpoint to be hit.
curmudgeon99ParticipantThank you for the prompt reply.
I did as you said and saw along with the running threads in my Debug window that the JavaScript Debugging indeed became a running application. I clicked on the Web2.0 button and the browser popped up. I entered the URL for my app and when I hit the submit button, it did not stop at my break point. I did see back in the main MyEclipse that it showed the JavaScript functions but no where did it stop.
I searched the documentation for the “Instant-On debugging button” and didn’t find anything. I presumed it was just the usual debugger button but perhaps that was an incorrect assumption. Can you see where I’ve gone astray? Maybe be a little more precise on what you meant by the “Instant-On debugging button”?
Thank you.
[By the way: I just moved to a new company where they didn’t use MyEclipse. I was able to convince them of its value and they are about to purchase a license for each of the developers–about 9.]
Riyad KallaMembercurmudgeon99,
Have a quick look through our AJAX debugging tutorial here;
http://www.myeclipseide.com/images/tutorials/quickstarts/ajaxdebugging/tutorial.htmlit describes the functionality I was explaining in detail. After watching that, please let me know where the hangup is occuring. For example, are you seeing the AJAX request in the monitor view and so on?
Also the JavaScript must be in an external JS file and called from a HTML or JSP page, it cannot be inside the page itself at this time.
curmudgeon99ParticipantRiyad,
Thank youl. I will check out the AJAX tutorial and I can say right now it was embedded JavaScript. That gives me something to go on. I must say, other information thas was provided in the problems list for the perspective helped me solve some other JS problems. Great tool. Keep it up. My current team was using vi to write Java. To say they are now shell-shocked at what is possible is a gross understatement.Thank you,
Tom
Riyad KallaMemberTom,
Your comments are really a shot in the arm for us. We appreciate the support and are going to work our tails off in 2007 to keep your business. -
AuthorPosts