facebook

[Closed] Javascript Debugging: the basics…

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

    Renen
    Member

    Hello,

    In trying to get this to work, I downloaded 5.5.0 M1.

    I have a simple HTML page that I would like to step through the java code on.

      I set a breakpoint in the code (Java perspective).
      I then click the launch Web 2.0 icon and a new IDE window opens up (not cool, but anyway).
      I then enter the url of the page I want to debug into the URL bar and the page opens.
      Then I click the “start debugging the current web page” icon.
      Then I initiate the javascript function containing my breakpoint. But the breakpoint seems to be simply ignored. ;-(

    Am I just being obtuse, or am I missing something fundamental?

    Thank you for your guidance.

    Renen.

    #267004 Reply

    Riyad Kalla
    Member

    Renen,
    Is your JavaScript in an external JS file and linked to the HTML page, or is it embedded in the HTML page?

    #267186 Reply

    Renen
    Member

    Hi Riyad,

    It is a mixture.

    I look forward to your feedback.

    #267190 Reply

    Riyad Kalla
    Member

    I would suggest to first try with a simple HTML page that links to an external JavaScript file, set a breakpoint in the JS file, then try and execute it from the HTML page (like a single button listener or something) and just make sure that is working. Because if that isn’t working we need to start looking at things like installation issues.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] Javascript Debugging: the basics…

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