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 111839 - Unintuitive interaction with I/O Re-run and Stop actions
Summary: Unintuitive interaction with I/O Re-run and Stop actions
Status: CLOSED DUPLICATE of bug 97748
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-03 00:35 UTC by ivan
Modified: 2010-04-29 09:34 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 ivan 2007-08-03 00:35:35 UTC
It seems to me that the Stop and Re-run actions in the new output window should somehow
be bound to debugging. They are but not in the way I expeted them.
1) As long as a session is running, Re-run is disabled. Re-running is a common
   deugging activity; why is it disabled?
2) Stop does something, but what? The session seems to still be alive. The Re-run
   button is enabled. How exatly is state (2) different form state (1)?
3) I Re-run. That starts a new session!

I have a suspicion that Stop/Re-run is working at the ant/build level
which makes it's conection to any debugging activity indirect and accidental.
Comment 1 Martin Entlicher 2007-08-03 09:33:23 UTC
These actions come from the build system, thus they are out of programmatic control from debugger modules.

Ad 1) I do not own these actions, you would have to ask at "ant" (or "projects"?) component. I guess one is expected to
stop it first, then re-run.

Ad 2) When the debugged application is suspended, the stop can not do much with it. After you do several more steps or
continue the app, the session will terminate. The same problem has Build -> Stop Build/Run.

Ad 3) Yes, the old one is supposed to terminate.

We need to intercept the stop action somehow and terminate the session via JDI.
Comment 2 Martin Entlicher 2007-08-03 09:38:53 UTC
This is in fact a duplicate of issue #97748.

*** This issue has been marked as a duplicate of 97748 ***
Comment 3 Quality Engineering 2010-04-29 09:34:40 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.