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 78148 - Breakpoint moves to wrong place after editing BPEL diagram
Summary: Breakpoint moves to wrong place after editing BPEL diagram
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Debugger (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Alexander Zgursky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-16 15:31 UTC by bugbridge
Modified: 2006-08-31 02:02 UTC (History)
1 user (show)

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 bugbridge 2006-06-16 15:31:22 UTC
Description:
Steps to reproduce:
- create Sync sample project
- open BPEL in editor
- switch to source view
- set a breakpoint to assign element
- switch to design view
- insert Empty activity between Receive and Assign
- switch to source view
Result: The breakpoint moves to the newly created empty element
- add comment line (<!--   -->)after the empty element
- switch to design view and delete Empty activity
- switch to source view
Result: The breakpoint moves to the newly created comment line
-

Evaluation:
We looked at this. It is not a big problem. Actually it only works incorrectly
if you insert the new element directly before the element that has the
pre-existing breakpoint. 

If you add the new element(s) higher up in the process then the breakpoint will
remain with the origianl element as the origianl element is repositioned. That
is the correct behavior. The only time you do not get this behavior is when the
new element is inserted immediately before the breakpoint element.

Workaround:
Remove the breakpoint that has moved to wrong line and add a new one.
Comment 1 Alexander Zgursky 2006-08-01 04:42:12 UTC
Fixed
Comment 2 Alexander Pepin 2006-08-02 15:13:17 UTC
verified in build 060802_1
Comment 3 lchang 2006-08-04 23:18:51 UTC
This has been fixed, if you add a new activity, the breakpoint remains at the 
same place as you added it before.  If you add the breakpoint to the assign 
activity, it will stay with the assign activity no matter what you add/delete 
before or after it.