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.
[custom trunk build with new Debugger API, version 2, JDK 1.4.2_03] 1. Let's suppose that a Java main class "Test" exists with a "private static int X;" field. 2. Set a breakpoint somewhere into the main method. 3. Start the debugger 4. Once the debugger stops at the breakpoint add two new watches: "X" and "Test.X". The first watch is evaluated correctly, but the second reports: ">Identifier cannot be resolved: Test.X<" and throws the attached exception to the <projectname>(debug) console.
Created attachment 14126 [details] The InvalidExpressionException thrown.
There are more exceptions, attaching whole debugger output.
Created attachment 14127 [details] Output from whole debugging session.
I fixed resolution of types in static context. /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/expr/Evaluato r.java,v <-- Evaluator.java new revision: 1.4; previous revision: 1.3
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.