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 32772 - Incorrect status bar text when using variable breakpoint
Summary: Incorrect status bar text when using variable breakpoint
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: -S1S-
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-09 16:53 UTC by Jan Lahoda
Modified: 2010-04-29 09:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Testcase. (562 bytes, text/plain)
2003-04-09 16:54 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2003-04-09 16:53:40 UTC
Nevada 030408, JDK1.4.1_02.
Steps to reproduce:
1. Download attached java file (Test.java). Its
package is "test".
2. Mount it (so it is in package "test").
3. Set a variable breakpoint on package: "test",
class "Test", variable: "counter", Stop On:
"Variable modification", no condition, suspend
debugging: true.
4. Run test/Test.java in the debugger.
5. It should stop on line 31, in the status bar
should be a text like: "Variable counter
modification (0)".
6. Continue debugging using ctrl-F5. The status
bar changes to "Debugger running", and even if the
debugger stops on next "counter" change, the
status bar does not change.
7. Use Ctrl-F5 until the debugger finishes. The
status bar is again not changed (it still reads:
"Debugger running", even although the debugger is
not running).

BTW: This happens also under some other
circumstaces, but I do not have any reproducible
cases (yet).

I think this is quite confusing to user.

In this case, the texts generated by breakpoints
are written correctly into the "Debugger Console",
but "Debugger finished" is not written here.
Comment 1 Jan Lahoda 2003-04-09 16:54:08 UTC
Created attachment 9818 [details]
Testcase.
Comment 2 Jan Jancura 2003-04-15 08:48:41 UTC
I will look at it.
Comment 3 Maros Sandor 2003-07-21 15:01:40 UTC
I added a synchronization check and the issue should not 
appear again (or far more less often).

/cvs/debuggercore/src/org/netbeans/modules/debugger/support
/IOManager.java,v  <--  IOManager.java
new revision: 1.20; previous revision: 1.19
Comment 4 Quality Engineering 2010-04-29 09:12:56 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.