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

Bug 366209

Summary: Can't remove or disable a breakpoint it is completely untouchable
Product: [Eclipse Project] JDT Reporter: Alessio Pollero <alessio.pollero>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: alessio.pollero, Michael_Rennie, remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Breakpoint on the empty line
none
Locked breakpoint none

Description Alessio Pollero CLA 2011-12-09 10:32:54 EST
Build Identifier: M20110909-1335

I had a breakpoint pointed to a line of code, then i removed that line of code and the breakpoint remained pinned to that empty line, so i've tried to remove it by right click ---> Toggle Brakpoint but the breakpoint remained there.

I' have also tried putting a line of code in that empty line and trying toggling the breakpoint again, i have tried also double clicking on it or trying Right -> Disable, but there is nothing to do !!! The breakpoint remained completely locked ! 

I have removed the text from the breakpoint line the first time with the CTRL+X (cut) shortcut, removing the text with BACKSPACE or DELETE doesn't cause the problem.

I have even tried closing and reopening eclipse, there is no way to remove this dangling breakpoint ! How can i remove this breakpoint ?

Reproducible: Always

Steps to Reproduce:
1.Set a breakpoint on a valid line of code
2.Remove that line with CTRL+X (cut) shortcut
3.Save the file
4.Try removing / toggling breakpoint
Comment 1 Alessio Pollero CLA 2011-12-09 10:33:28 EST
Created attachment 208168 [details]
Breakpoint on the empty line
Comment 2 Alessio Pollero CLA 2011-12-09 10:35:10 EST
Created attachment 208169 [details]
Locked breakpoint

I've tried to paste again the line of code on that empty line with the breakpoint but i still not able to toggle it.
Comment 3 Remy Suen CLA 2011-12-09 11:38:32 EST
Did you try removing the breakpoint via the 'Breakpoints' view?
Comment 4 Alessio Pollero CLA 2011-12-09 14:58:57 EST
Removing all breakpoints from breakpoint view i was able to remove that damned ! :-)  Thank you.
Comment 5 Michael Rennie CLA 2011-12-12 10:04:09 EST
Could be considered a dupe of either bug 153925 or bug 330878.

*** This bug has been marked as a duplicate of bug 153925 ***