Bug 5631

Summary: Breakpoint not reinstalled after hot swap
Product: [Eclipse Project] JDT Reporter: Darin Wright <darin.eclipse>
Component: DebugAssignee: Darin Wright <darin.eclipse>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Darin Wright CLA 2001-11-07 12:16:45 EST
Using the following code:
* put a breakpoint on the System.out
* run to the breakpoint
* change the string being printed & save
* the programs drops to the "main" method as expected
* when I resume the breakpoint is not hit (and should be)

public class DropTests {
 
 	public static void main(String[] args) {
 		DropTests dt = new DropTests();
 		dt.method1();
 	}
 
 	public void method1() {
 		method2();
 	}
 	
 	public void method2() {
 		method3();
 	}
 	
 	public void method3() {
 		method4();
 	}
 	
 	public void method4() {
 		System.out.println("Finally, I got to method 4");
 	}
 
 }
Comment 1 Jared Burns CLA 2001-11-07 16:18:27 EST
Fixed. Added method JDIDebugTarget#reinstallBreakpointsIn(resources).
Comment 2 Jared Burns CLA 2001-11-07 16:22:29 EST
Please verify.
Comment 3 Darin Wright CLA 2001-11-08 12:46:13 EST
Verified.