Bug 260588 - [breakpoints] Lock Breakpoint to prevent removal
Summary: [breakpoints] Lock Breakpoint to prevent removal
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2009-01-09 15:22 EST by Wojtek Bok CLA
Modified: 2011-01-20 11:29 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wojtek Bok CLA 2009-01-09 15:22:24 EST
Build ID: 3.4

Steps To Reproduce:
Create breakpoint, choose Breakpoint Properties, click on Lock

Now the breakpoint cannot be removed until the Lock is cleared

Rationale:

It would be helpful to be able to lock a breakpoint so that it cannot be removed. This locked breakpoint would typically be used within code which normally never gets run (ie: exception handler) but where you want to see the live stack to track why it happened.

Locking the breakpoint would make it immune to the standard Remove/ Remove All menu options.

I know that you can get a confirmation dialog, but that is for all the breakpoints, not a specific one.
Comment 1 Curtis Windatt CLA 2009-01-09 15:35:00 EST
I thought there was a dupe of this, but I can't find it.  Though bug 113797, allowing undo to removal is vaguely related.
Comment 2 Michael Rennie CLA 2009-01-12 14:07:51 EST
There is one related bug about warning before removing breakpoints with conditions (bug 151918).