Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353221

Summary: [correction][quick fix] Should jump to closest problem even if there's a breakpoint
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: TextAssignee: Dani Megert <daniel_megert>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, deepakazad
Version: 3.3   
Target Milestone: 3.8 M7   
Hardware: All   
OS: All   
Whiteboard:

Description Markus Keller CLA 2011-07-27 11:08:51 EDT
BETA_JAVA7, same in 3.6.2

package xy;
public class Try {
	void foo() {
		equals(); // add breakpoint
	}
}

- add a line breakpoint to indicated line
- put caret at end of line
- Ctrl+1
=> expected: Caret should jump to error position
=> was: Caret stays at end, no quick fix offered
Comment 1 Dani Megert CLA 2011-07-28 02:39:08 EDT
This used to work but got broken in two steps:

- First it got broken when we introduced the jumping: there it worked at the
  end of the line but not at the beginning.
- Then the range of the line breakpoint was changed, which also broke it for
  the end of the line.