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

Bug 407439

Summary: [breakpoints] Breakpoint is deleted after two line moves
Product: [Eclipse Project] JDT Reporter: Christian Georgi <christian.georgi>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Michael_Rennie
Version: 4.2.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Christian Georgi CLA 2013-05-07 12:26:20 EDT
When a line is moved upwards against a line with a breapoint two times, the breakpoint gets deleted.

Consider the following example:

1	public static void main(String[] args) {
2		System.out.println(2);  //<-- breakpoint
3		System.out.println(3);
4		System.out.println(4);
5	}

- Set BP on line 2
- Move line 3 upwards.  BP is now one line 3.
- Move line 4 upwards .  BP is deleted.

This issue might be related to bug 39945.  It also happens in non-Java text editors, so it could be a bug for Platform Text.
Comment 1 Eclipse Genie CLA 2019-12-20 08:17:03 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.