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.
Summary: | Class variables not visible | ||
---|---|---|---|
Product: | debugger | Reporter: | bht <bht> |
Component: | Java | Assignee: | issues@debugger <issues> |
Status: | VERIFIED INVALID | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows 95/98 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
bht
2002-11-10 10:04:23 UTC
The debugger currently displays the following types of variables in panel "Local Variables" of the Debugger Window: - local variables (i.e. variables declared within a method body) of the current call stack frame (alias "method call") - value of <this> if applicable (i.e. if the call stack frame refers to a non-static non-native method) and of all fields (both instance and static) of <this> object Variable "outerStaticString" is not a local variable (it is a member of a class). Nor is it displayed under <this> because there is no <this> available in static context. You can watch values of static class members if you create a watch for them or if you create an instance of the class and watch values of all its members (as described above). Note that private fields of a class are not directly accessible from (because not members of) its nested classes. Java compiler generates synthetic accessor methods for accessing them. Many thanks Marian for your comprehensive explanation! *** Issue 28917 has been marked as a duplicate of this issue. *** I have filed a request for enchancement - see #28936. verified |