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.
Build: NetBeans IDE Dev (Build 201006230001) VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Windows XP User Comments: sunflower: JavaFX Composer FXJDI: #29 Steps to reproduce: - Copy the code to the editor: ------------------------------------------------- class A { public var id: Integer; public var name: String; public var node: A; } function run() { var a = A { id: 1 name: "One" node: A{ id: 2 name: "Two" } }; var str = "Hello World!"; println(a); } ------------------------------------------------- - Set a breakpoint to the ' println(a);' line - Debug the project - Go to the Variable window - Expand the 'a' variable - Expand the 'a.node' variable The exception pops up Stacktrace: com.sun.jdi.InvalidStackFrameException: Thread has been resumed at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:62) at com.sun.tools.jdi.StackFrameImpl.location(StackFrameImpl.java:71) at com.sun.javafx.jdi.FXStackFrame.location(FXStackFrame.java:82) at com.sun.javafx.jdi.FXStackFrame.location(FXStackFrame.java:41) at org.netbeans.modules.debugger.jpda.expr.TreeEvaluator.indexOf(TreeEvaluator.java:222) at org.netbeans.modules.debugger.jpda.expr.TreeEvaluator.evaluate(TreeEvaluator.java:129)
Created attachment 100352 [details] stacktrace
Fixed. Now the expansion works perfectly.
verified in NetBeans IDE 6.9.1 Dev (Build 201007182301)