facebook

Debug not pointing/navigating correctly first time on JSPs

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #234134 Reply

    decemberist
    Member

    Using Tomcat 5, and put a breakpoint in a JSP.

    Set a breakpoint on a JSP, switch (open) to another Java class or JSP in the project, then close (& save) Eclipse & restart Eclipse.

    Then start the server, and run the webapp so that the breakpoint will be executed.

    When it hits the breakpoint, the debugger is called. However…

    When the focus is switched to Eclipse, the JSP/breakpoint location are not jumped to. I simply goes to where you left off when you opened Eclipse.

    Secondly, when you do go to where the focus is (at the breakpoint). Hitting the function keys to navigate (f6) instead of the menu drop-down does not work, until you use the menu drop-down to do the Step-Over. Then the f6 key will work.

    #234162 Reply

    Riyad Kalla
    Member

    After restarting MyEclipse, if you quickly remove then readd the breakpoint THEN run the app server, does it switch views correctly and focus the breakpoint?

    #234455 Reply

    decemberist
    Member

    Dont see the relevance, can you try it?

    How about the other issue of the F5, F6 & F8?

    #234461 Reply

    Riyad Kalla
    Member

    Dont see the relevance, can you try it?

    Yes, everything works as it should here. The breakpoints are focused and perspective swiched to as it should.

    How about the other issue of the F5, F6 & F8?

    These are flaky for me in my default Eclipse install without MyEclipse, so I’m not surprised here. I am working on a client/server app that I always try and use the keyboard for during debugging to no avail.

    #234576 Reply

    decemberist
    Member

    The keyboard shortcuts are what Im reporting as a bug then.

    Please fix.

    #234652 Reply

    I have several directories under my webapp with files named the same, specifically render.jsp. Whenever I set a breakpoint in one of these JSPs, the debugger breaks on that line number in _every_ JSP named the same thing. Is this a known issue?

    Thanks,

    =Perry

    #234663 Reply

    Riyad Kalla
    Member

    Perry,
    Are these pages included fragments as well?

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Debug not pointing/navigating correctly first time on JSPs

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