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 78112 - Finishing debug session does not stop the process
Summary: Finishing debug session does not stop the process
Status: CLOSED INVALID
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:04 UTC by bugbridge
Modified: 2006-08-31 02:02 UTC (History)
3 users (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:04:58 UTC
Description:
Steps to reproduce:
- start the IDE
- open the TravelReservationService sample project
- start PXE server
- deploy the project
- start a new debug session (right-click on the project node and call "Debug
Project" from the context menu)
- set a breakpoint in the Assign statement line of the BPEL source view 
- run HasHotel test scenario, wait until it stops at the breakpoint
- open the "Process Instances" view to be sure that current process is suspended
- finish the debug session
- start a new debug session
- open the "Process Instances" view
Result: It contains the same suspended process that can be continued. This is
misleading because a user expects that the process should be shutdowned when the
debug session is finished.

Evaluation:
yes, useability bug. 
I suspect that the Stop Debug session should implicitly "resume" the process? Of
course it has to be careful to do this in proper sequencing so that the process
does not just run to the next breakpoint and halt again.

Evaluation (Entry 2):
Will not fix for now since the way how the BPEL debug session is created has
changed: now user would not use "Project Debug" but "Attach Debugger...".
Comment 1 Jiri Kopsa 2006-06-22 15:30:47 UTC
On "Finish Debug Session" the suspended process should not be terminated but
rather resumed (this would be in sync with Java EE debugging). This applies to
both scenarios - no matter whether debug session was initiated with the Debug
action or Attach Debugger.
Comment 2 Alexander Zgursky 2006-07-20 14:10:20 UTC
Setting to "INVALID" since users would not appreciate terminating thier
processes implicitly in any curcumstances (see a note from jkopsa, a human
interaction engineer).
Moreover, we are not using a "Debug Project" aproach, we use "Attach
Debugger..." instead. So, as the BPEL debug seesion doesn't bind to any project,
it's for the whole BPEL Engine.
Comment 3 lchang 2006-08-04 17:28:44 UTC
verified, if you finish the debug session in the middle of the process the 
process just continues without debugging.