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.
Steps to reproduce: - create a new Sync sample - open the debugger Breakpoints window - open it in designer - select an activity, click Toggle Breakpoint in context menu, breakpoint will appear - delete the activity - the breakpoint will remain in the Breakpoints window but will be marked as broken
Pressing Ctrl+Z after steps above will undo activity deletion and the breakpoint will change state from broken to normal, but still will not appear on the diagram Changing breakpoint's state in the breakpoint window may make it appear on diagram. You can even have 2 breakpoints at one activity if you toggle one more breakpoint for that activity
OK, so as I can see there are two issues (both reproduced, by the way): 1) breakpoint doesn't get removed when activity gets removed 2) breakpoint doesn't appear on the diagram when it's recovered from the broken state. Actually, the first one was that by design, i.e. breakpoints were not to be removed unless they are explicitely removed by a user. But, you're probably right, it's better to hide "broken" breakpoints and maybe what's more important - don't persist them.
For Sierra.
*** Issue 97673 has been marked as a duplicate of this issue. ***
-> FIXED
verified in NetBeans IDE Dev (Build 200801140000)