facebook

debugger breakpointing in wrong file

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

    rtse
    Member

    I have 2 web projects, both of which contain a class with exactly the same package and name but are slightly different because of versions, etc.

    Say I put a breakpoint in one file on line 68 and another breakpoint on line 82 in the other file. Now run the application that appears first in the list in the package explorer – the debugger will stop at the right place (line 68). Now run the application that appears second in the list in the package explorer – the debugger will stop on line 82, but in the FIRST file in the list.

    Hope that makes sense…

    I am using
    MyEclipse Version: 3.9.310
    Build id: 20050808-4.0-Milestone-3

    and
    Eclipse Version: 3.1.0
    Build id: I20050627-1435

    I recently upgraded to Milestone-3 from (I think) Milestone-2 – I don’t think this was a problem in Milestone-2.

    Thanks,
    Rob

    #235639 Reply

    Riyad Kalla
    Member

    Rob,
    This is actually a behavior of the Eclipse debugger, it searches all open projects when breakpoints are hit for a matching file, so in your case especially given the similarity of the two files, it will likely always use the first file.

    The way you get around this is to close the project you aren’t using while debugging to avoid it from looking into the closed project.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: debugger breakpointing in wrong file

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