facebook

[Closed] Javascript debugging problems…

  1. MyEclipse Archived
  2.  > 
  3. Web 2.0 / AJAX
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #263861 Reply

    harryajh
    Member

    Using Eclipse 3.2.1, ME 5.1.0GA (pro) on win 2000 (sp4)

    Going through your “MyEclipse JavaScript Development and Debugging Quickstart” I have a few problems!

    Firstly I can step through local apps but when I try to debug apps on a server it simple refuses to stop at any breakpoints – I have the app deployed on Tomcat 5 and the URL is def correct in the debug config i.e http://localhost/JS_Mario/runmario.html – any ideas?

    Also when trying the Instant-On Debugging example, I open up a web 2.0 window & type google maps URL in, your tutorial says “In the JavaScript Scripts Inspector View you will see the script files that comprise the Google Maps application” – all I get is “scripts are available during javascript debugging” – but I can’t see any?

    What am I doing wrong?

    thanks

    harry

    #263884 Reply

    Riyad Kalla
    Member

    Harry,
    Which tutorial for Google Maps are you going through? Also can you walk through this tutorial step-by-step and does it work?
    http://www.myeclipseide.com/images/tutorials/quickstarts/ajaxdebugging/tutorial.html

    #263930 Reply

    harryajh
    Member

    I was actually going through your other one – http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/javascript/index.html

    but tried the one you said, got as far as setting a breakpoint on the incrementVoteCount() method but when I click the vote link it doesn’t stop at this breakpoint!

    any ideas?

    harry

    #263934 Reply

    Riyad Kalla
    Member

    Harry,
    Let’s try the big-bomb approach here. Can you download our All-In-One installer for MyEclipse 5.1, and install it to a brand new location. Then run it, and create a new workspace then try and do the same steps from the AJAX tutorial and see if it stops at the breakpoint?

    You did hit the debug button (which causes the debugger to initialize and load up all the site resources and what not) right?

    #263944 Reply

    harryajh
    Member

    thanks fot that, tried what you said & it works fine now – what’s puzzling though is before I started the tutorial I downloaded & installed Eclipse 3.2.1 and ME 5.1.0GA (pro) from scratch BUT kept the original workspace. This time I created a new WS & it worked so maybe something dodgy in there?

    anyway many thanks once again!

    harry

    #263957 Reply

    Riyad Kalla
    Member

    It’s very possible it could be a workspace plugin cache somewhere that was causing the problem. I’m glad it’s working now (sorry for the hickup)

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: [Closed] Javascript debugging problems…

You must be logged in to post in the forum log in