Bug 5590

Summary: Step return fails on J9
Product: [Eclipse Project] JDT Reporter: Jed Anderson <jed.anderson>
Component: DebugAssignee: Darin Wright <darin.eclipse>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Jed Anderson CLA 2001-11-06 14:39:51 EST
Using the 20011105 build, I added the org.eclipse.jdt.launching.j9 plugin.  I
then launched a program using the J9 VM.  I attempted to do a StepReturn and got
the following error:

Log: Tue Nov 06 13:33:59 CST 2001
1 org.eclipse.core.resources 4 Unhandled exception caught in event loop.
Log: Tue Nov 06 13:33:59 CST 2001
4 org.eclipse.ui 0 java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
	at org.eclipse.jdi.internal.MirrorImpl.defaultReplyErrorHandler(MirrorImpl.java:236)
	at
org.eclipse.jdi.internal.request.EventRequestImpl.enable(EventRequestImpl.java:191)
	at
org.eclipse.jdt.internal.debug.core.JDIThread$StepHandler.createStepRequest(JDIThread.java:1529)
	at
org.eclipse.jdt.internal.debug.core.JDIThread$StepHandler.step(JDIThread.java:1479)
	at org.eclipse.jdt.internal.debug.core.JDIThread.stepReturn(JDIThread.java:1040)
	at
org.eclipse.jdt.internal.debug.core.JDIStackFrame.stepReturn(JDIStackFrame.java:322)
	at
org.eclipse.debug.internal.ui.StepReturnActionDelegate.stepAction(StepReturnActionDelegate.java:26)
	at
org.eclipse.debug.internal.ui.StepActionDelegate.doAction(StepActionDelegate.java:22)
	at
org.eclipse.debug.internal.ui.ControlActionDelegate$1.run(ControlActionDelegate.java:70)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:56)
	at
org.eclipse.debug.internal.ui.ControlActionDelegate.run(ControlActionDelegate.java:64)
	at org.eclipse.debug.internal.ui.ControlAction.run(ControlAction.java:46)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:453)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361)
	at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352)
	at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:54)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:635)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1365)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1167)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:727)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:710)
	at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:820)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
	at org.eclipse.core.launcher.Main.run(Main.java:502)
	at org.eclipse.core.launcher.Main.main(Main.java:362)
Comment 1 Darin Wright CLA 2001-11-06 14:53:50 EST
What version of J9? What version of the "launching.j9" plugin?
Comment 2 Jed Anderson CLA 2001-11-06 15:17:05 EST
Sorry, lost my head there for a moment.

J9 Version 20010510
j9 plugin was build this morning (2001.11.06)
Comment 3 Jed Anderson CLA 2001-11-06 16:33:45 EST
With the 20011101 version of J9 I am able to properly step.
Comment 4 Darin Wright CLA 2001-11-06 16:59:24 EST
Works on latest J9.