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

Summary: locally defined variables not shown from time to time in Variables pane
Product: debugger Reporter: David Konecny <dkonecny>
Component: CodeAssignee: Daniel Prusa <dprusa>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

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