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 200809020201) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Windows XP, 5.1, x86 User Comments: I hit retry in the debugger after making code changes (Apply changes was disabled) Stacktrace: java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread at java.awt.EventQueue.invokeAndWait(EventQueue.java:980) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1323) at org.netbeans.modules.debugger.jpda.actions.StepIntoActionProvider.doMethodSelection(StepIntoActionProvider.java:134) at org.netbeans.modules.debugger.jpda.actions.StepIntoActionProvider.runAction(StepIntoActionProvider.java:110) at org.netbeans.modules.debugger.jpda.actions.StepIntoActionProvider.doAction(StepIntoActionProvider.java:93) at org.netbeans.api.debugger.ActionsManager.doAction(ActionsManager.java:168)
Created attachment 68909 [details] stacktrace
A bug of org.netbeans.contrib.debuggerretry.RetryAction It should call ActionsManager.postAction() instead of doAction().
Hi Martin, I've changed the code to postAction (and added a tasklistener such that I can serialize the two actions it invokes). However, Step Into doesn't "work" anymore - it asks the user which method to step into. Is there an action I can invoke to get the old step-into semantics (step into last method), noninteractively? Fixed in d459af916816 - but again, the feature doesn't work quite as well as before because after invoking Retry you have to press Enter or F7 to complete the step.