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 955

Summary: Breakpoints sometimes lose line number they`re attached to
Product: debugger Reporter: David Simonek <dsimonek>
Component: CodeAssignee: Jan Jancura <jjancura>
Status: CLOSED WONTFIX    
Severity: normal    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description David Simonek 1998-10-21 02:41:53 UTC
When I create new breakpoint attached to some line and then I try to attach it to some
method by opening string property editor - but hey, suddenly I decide to escape property
editor via cancel button - and breakpoint is valid no more and had a line of value -1 attached.

This is strange - it would be better if breakpoint could hold line its attached to until assignation
to the method is succesful and complete.

Steps to reproduce:
- Set a breakpoint somewhere in some method (not on its header)
- Highlight properties of this breakpoint in property sheet
- Open property editor on "method" property
- Immediatelly espape property editor
- That`s it, breakpoint is not valid now, but it should be

[Hanz] There is no property "method name" of Breakpoint on line now.
Comment 1 Jan Stola 2000-07-27 17:40:59 UTC
Bug assigned to the module owner.