This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 67579 - position of breakpoints are not updated on Apply code changes
Summary: position of breakpoints are not updated on Apply code changes
Status: VERIFIED DUPLICATE of bug 57457
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-26 13:22 UTC by pzajac
Modified: 2005-11-01 13:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2005-10-26 13:22:13 UTC
[200510251800]
Steps to reproduce:
1) Create a class with method

aMethod() {
.  System.out.println("a"); // set the breakpoint to the line
}

2) Start debug session which uses the method aMethod. The debugger correctly
stops at  the line 
.  System.out.println("a"); // set the breakpoint to the line

3) change the method to the:

aMethod() {
   System.out.println("b");
.  System.out.println("a"); // set the breakpoint to the line
}

4) apply code changes
The debbuger now stops at line 
System.out.println("b");

The debugger stops on the line 
.  System.out.println("a"); // set the breakpoint to the line
after restarting debugging session
Comment 1 Roman Ondruska 2005-10-26 15:51:13 UTC
This is a known problem. See also #58450 and #35586 (may be implemented for the
next release).

*** This issue has been marked as a duplicate of 57457 ***
Comment 2 pzajac 2005-11-01 13:56:04 UTC
v