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 195613 - Breakpoint not removed with method
Summary: Breakpoint not removed with method
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal with 1 vote (vote)
Assignee: Martin Entlicher
Depends on:
Reported: 2011-02-17 14:27 UTC by honnza
Modified: 2012-03-22 05:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description honnza 2011-02-17 14:27:11 UTC
Product Version = NetBeans IDE 6.9.1 (Build 201011082200)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_12
Runtime = Java HotSpot(TM) Client VM 11.2-b01

If a method is deleted while there's a method breakpoint, the breakpoint is not removed, and the breakpoint marker is moved to the last line. Right-clicking suggests "toggle line breakpoint", which fails.
If the debugger is run with this breakpoint enabled, it complains about not being able to set the breakpoint, then continues normally.
Comment 1 Martin Entlicher 2011-03-04 13:41:07 UTC
P4 IMHO, the breakpoint can be easily removed from the Breakpoints window.
Comment 2 NewCub 2012-03-22 05:15:05 UTC
This solution is not intuitive if the user is not aware that a breakpoints window exists.