Bug 366209 - Can't remove or disable a breakpoint it is completely untouchable
Summary: Can't remove or disable a breakpoint it is completely untouchable
Status: CLOSED DUPLICATE of bug 153925
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 10:32 EST by Alessio Pollero CLA
Modified: 2011-12-12 10:04 EST (History)
3 users (show)

See Also:


Attachments
Breakpoint on the empty line (5.07 KB, image/png)
2011-12-09 10:33 EST, Alessio Pollero CLA
no flags Details
Locked breakpoint (8.50 KB, image/png)
2011-12-09 10:35 EST, Alessio Pollero CLA
no flags Details

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