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.
When static fields are initialized, all static values are retrieved. This is a problem for JavaFX debugger, because such call can start many triggers. Stack trace is: com.sun.javafx.jdi.event.FXEventQueue.startInvoke(FXEventQueue.java:48) at com.sun.javafx.jdi.FXClassType.invokeMethod(FXClassType.java:68) at com.sun.javafx.jdi.FXReferenceType.getValue(FXReferenceType.java:377) at org.netbeans.modules.debugger.jpda.jdi.ReferenceTypeWrapper.getValue(ReferenceTypeWrapper.java:1111) at org.netbeans.modules.debugger.jpda.models.JPDAClassTypeImpl.staticFields(JPDAClassTypeImpl.java:222) at org.netbeans.modules.debugger.jpda.models.LocalsTreeModel.getChildrenImpl(LocalsTreeModel.java:175) ...
would some kind of lazy evaluation be possible?
Yes, it would be. I'll have the fix very soon...
Fixed in changeset: 173899:8cf1f0070183 http://hg.netbeans.org/main/rev/8cf1f0070183
Integrated into 'main-golden', will be available in build *201007090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8cf1f0070183 User: mentlicher@netbeans.org Log: #188447 Lazy evaluation of static fields.
approved for integration into 6.9.1
Transplanted into release691 as changeset: 171905:0ef099c9d62e http://hg.netbeans.org/release691/rev/0ef099c9d62e