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 95896 - Undescribed state of paused application without breakpoints
Summary: Undescribed state of paused application without breakpoints
Status: CLOSED WONTFIX
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC All
: P4 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-19 09:31 UTC by ehucka
Modified: 2010-05-06 11:48 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 ehucka 2007-02-19 09:31:16 UTC
Steps to reproduce:

1. start debugging of some application (better non-ui)
2. press Pause button

Result: if there is not set any breakpoint the application is paused but Local
Variables and Call Stack views are empty. Application's sources opened in editor
have not any debugger annotations (current pc).

Than:

1. create breakpoint and let application stop on it
2. remove the breakpoint and press Continue
3. press Pause button

Result: application is stopped in 'described' state - Local Variables and Call
Stack contain particular data, editor contain current pc annotation.
Comment 1 Martin Entlicher 2007-02-19 10:58:10 UTC
Well, I agree that this is inconsistent. The breakpoint sets a current thread,
which is then preserved until a different thread becomes current. Thus you
always have the call stack and variables.

We should probably unset the current thread on resume and perhaps try to choose
somehow the current thread when the app is paused (if it's single-threaded it's
easy).
Comment 2 Martin Entlicher 2007-05-09 19:34:09 UTC
Changing priority to P4 - not so common use-case, after the user sets the
desired thread as current in Threads view, the other views (Local Vars and Call
Stack) get populated.
Comment 3 Quality Engineering 2009-12-21 05:41:57 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team
Comment 4 Marian Mirilovic 2010-05-06 11:48:01 UTC
v/c