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 10623 - locally defined variables not shown from time to time in Variables pane
Summary: locally defined variables not shown from time to time in Variables pane
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-23 10:15 UTC by David Konecny
Modified: 2001-07-20 20: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 David Konecny 2001-03-23 10:15:20 UTC
Version: 3.2 beta, build 10 (MDI). Very often happens that Variables pane of 
Debugger Window does not show me all available variables. I think that in most 
of the cases variables which are not shown are variables defined locally in the 
scope. I believe it is quite reproducible.

fyi: a few times also happened to me that a variable of my object was displayed 
in tree twice and each has different value. I'm not able to reproduce it, but I 
see it from time to time. (is it possible that it is my problem? that I defined 
the variable twice somehow???)
Comment 1 Daniel Prusa 2001-03-26 08:42:25 UTC
Local variables are not displayed if a class compiled without debug information 
(-g option) is debugged. A typical case when it occures includes classes in 
rt.jar or classes of Netbeans modules (they are not compiled with -g defaultly).

There were some problems with refresh of variables and with displaying 
the "this" value. They should be already fixed.
Comment 2 Daniel Prusa 2001-04-03 08:30:46 UTC
com.sun.jdi.InconsistentDebugInfoException causes that local variables are not 
shown in some special cases
Comment 3 Daniel Prusa 2001-04-30 14:55:01 UTC
fixed in main trunk
Comment 4 Jan Chalupa 2001-05-05 21:26:48 UTC
Target milestone -> 3.2