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 37158 - Missing variables in Local Variables view
Summary: Missing variables in Local Variables view
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-12 10:04 UTC by Jan Lahoda
Modified: 2010-04-29 09:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test Example. (593 bytes, text/plain)
2003-11-12 10:05 UTC, Jan Lahoda
Details
Screenshot. (30.07 KB, image/png)
2003-11-12 10:07 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-11-12 10:04:11 UTC
Reproduced on: NB3.5, Arrow build 031024_1, NB
trunk build 200311111900. JDK1.4.2, MDI.

(This is a random bug. I am able to reproduce the
problem very often, but not always.)
Steps:
1. Download the test example "Test1.java". Its
package is "examples.texteditor".
2. Place line breakpoint at lines 23, 28 and 32.
3. Start Test1 in debugger.
4. (Stops at line 23.) Choose Debugger/Continue.
5. (Stops at line 28.) Wait until all debugger
views are completelly updated. Choose
Debugger/Continue.
6. (Stops at line 32.) In the Local Variables,
variable "test3" should be listed, but is not.
7. Invoke "Step Over".
8. The variable "test4" is listed in Local
Variables, but "test3" is not. A screenshot of
this situation is attached.
Comment 1 Jan Lahoda 2003-11-12 10:05:20 UTC
Created attachment 12116 [details]
Test Example.
Comment 2 Jan Lahoda 2003-11-12 10:07:27 UTC
Created attachment 12117 [details]
Screenshot.
Comment 3 Maros Sandor 2003-12-03 16:55:25 UTC
Newly created local variable sometimes took the same memory slot as a 
variable that went out of scope (test3 --> cntr). Debugger in this 
case did not properly refresh its cache of locals.

/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/LocalVariable
.java,v  <--  LocalVariable.java
new revision: 1.5; previous revision: 1.4
/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDACallStack
Frame.java,v  <--  JPDACallStackFrame.java
new revision: 1.32; previous revision: 1.31
Comment 4 Quality Engineering 2010-04-29 09:15:25 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.