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 91593 - Deleting activity from diagram does not remove associated breakpoints correctly
Summary: Deleting activity from diagram does not remove associated breakpoints correctly
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Kirill Sorokin
URL:
Keywords:
: 97673 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-27 12:04 UTC by Mikhail Kondratyev
Modified: 2008-01-14 09:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kondratyev 2006-12-27 12:04:39 UTC
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
Comment 1 Mikhail Kondratyev 2006-12-27 12:08:45 UTC
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
Comment 2 Alexander Zgursky 2006-12-30 09:15:25 UTC
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.
Comment 3 Sergey Lunegov 2007-10-25 12:22:27 UTC
For Sierra.
Comment 4 Kirill Sorokin 2007-12-05 19:35:59 UTC
*** Issue 97673 has been marked as a duplicate of this issue. ***
Comment 5 Kirill Sorokin 2007-12-21 13:45:02 UTC
-> FIXED
Comment 6 Ivan Sidorkin 2008-01-14 09:12:08 UTC
verified in NetBeans IDE Dev (Build 200801140000)