Community
Participate
Working Groups
Created attachment 183032 [details] fix code from HEAD If an event is sent to update the Scripts node in the debug view we incorrectly delegate to the parent event handler causing a ClassCastException. We should be checking the source of the event and redirecting it to the Scripts node handling code as needed. java.lang.ClassCastException: org.eclipse.wst.jsdt.debug.internal.core.model.ScriptGroup cannot be cast to org.eclipse.debug.core.model.IDebugTarget at org.eclipse.debug.internal.ui.viewers.update.DebugTargetEventHandler.handleChange(DebugTargetEventHandler.java:47) at org.eclipse.debug.internal.ui.viewers.update.EventHandlerModelProxy.dispatchChange(EventHandlerModelProxy.java:238) at org.eclipse.debug.internal.ui.viewers.update.EventHandlerModelProxy.handleDebugEvents(EventHandlerModelProxy.java:141) at org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1101) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1135) at org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:399) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
applied to HEAD