This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 12362

Summary: Deleting all breakpoints doesn't ask for confirmation
Product: debugger Reporter: L Martinek <lmartinek>
Component: CodeAssignee: issues@debugger <issues>
Status: CLOSED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description L Martinek 2001-05-23 14:52:48 UTC
If you delete one breakpoint under Breakpoints node you are asked to confirm it. 
But if you select Delete All action then all breakpoints is deleted without 
confirmation. It should be consistent for both action, ask for confirmation on 
deleting one or all breakpoints or never ask for confirmation.
Comment 1 Jan Jancura 2001-05-23 15:02:49 UTC
I do not see any reason why it should be """consistent""".
Comment 2 L Martinek 2001-05-23 16:34:41 UTC
It needn't be consistent, but currently it's illogical. I would understand 
opposite behaviour (confirm deleting all breakpoints, don't confirm deleting one 
breakpoint) since deleting all breakpoints is more risky than deleting only one 
breakpoint.
Comment 3 Jan Jancura 2001-05-23 16:48:44 UTC
I do not see any reason why it should be """logical""".
Comment 4 L Martinek 2001-05-23 17:16:02 UTC
It's natural tendency to make everything logical. Why don't you want to have it 
logical?
Comment 5 Jan Stola 2001-05-24 14:41:29 UTC
Please ignore Hanz's comments. The behaviour should be consistent.
There should not be confirmation dialog in either case.
The problem is that sometimes the confirmation dialog
is shown when deleting single breakpoint. We are not able
to find under which circumstances this happens (maybe
there is some bug in the core, maybe is in the debuggercore).
So, closing this bug as WONTFIX, because the Delete All
action really should not ask for confirmation.
If you are able to find reproducible way to obtain
confirmation dialog when deleting single breakpoint,
please, create new bug. Thanks.