Bug 5631 - Breakpoint not reinstalled after hot swap
Summary: Breakpoint not reinstalled after hot swap
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-07 12:16 EST by Darin Wright CLA
Modified: 2001-11-08 12:46 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.