Class DebugModelManager
java.lang.Object
org.eclipse.emf.mwe.internal.ui.debug.processing.DebugModelManager
- All Implemented Interfaces:
org.eclipse.debug.core.IDebugEventSetListener
public class DebugModelManager
extends Object
implements org.eclipse.debug.core.IDebugEventSetListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
adaptStackFrames
(int cleanStackLevel, List<SyntaxElement> frames) void
void
void
void
void
handleDebugEvents
(org.eclipse.debug.core.DebugEvent[] events) This class is registered as IDebugEventSetListener to get TERMINATE information during an unnormal end of the runtime process (when no terminate communication-event is thrown)
In this case a DebugEvent.TERMINATE is fired with an IProcess source.
Another terminate event must be fired here with the DebugTarget source.void
boolean
static DebugModelManager
newDebugModelManager
(DebugTarget target, Connection connection) void
void
void
void
void
void
requireSubVariables
(int varId) void
void
requireVariables
(int frameId) void
setBreakpointHandler
(BreakpointPluginHandler bpHandler) void
setCmdHandler
(CommandPluginHandler cmdHandler) void
setVariablesHandler
(VariablesPluginHandler varHandler)
-
Method Details
-
newDebugModelManager
public static DebugModelManager newDebugModelManager(DebugTarget target, Connection connection) throws org.eclipse.debug.core.DebugException - Throws:
org.eclipse.debug.core.DebugException
-
setCmdHandler
-
setVariablesHandler
-
setBreakpointHandler
-
hasRequiredHandlers
public boolean hasRequiredHandlers() -
getTarget
-
getThread
-
debuggerStarted
public void debuggerStarted() throws org.eclipse.debug.core.DebugException- Throws:
org.eclipse.debug.core.DebugException
-
adaptStackFrames
-
debuggerSuspended
public void debuggerSuspended() -
debuggerResumed
public void debuggerResumed() -
debuggerTerminated
public void debuggerTerminated() -
handleDebugEvents
public void handleDebugEvents(org.eclipse.debug.core.DebugEvent[] events) This class is registered as IDebugEventSetListener to get TERMINATE information during an unnormal end of the runtime process (when no terminate communication-event is thrown)
In this case a DebugEvent.TERMINATE is fired with an IProcess source.
Another terminate event must be fired here with the DebugTarget source. This is necessary because some listeners don't cleanup completely if there is only a terminate event with source = IProcess- Specified by:
handleDebugEvents
in interfaceorg.eclipse.debug.core.IDebugEventSetListener
- See Also:
-
IDebugEventSetListener.handleDebugEvents(org.eclipse.debug.core.DebugEvent[])
-
requireStepInto
public void requireStepInto() throws org.eclipse.debug.core.DebugException- Throws:
org.eclipse.debug.core.DebugException
-
requireStepOver
public void requireStepOver() throws org.eclipse.debug.core.DebugException- Throws:
org.eclipse.debug.core.DebugException
-
requireStepReturn
public void requireStepReturn() throws org.eclipse.debug.core.DebugException- Throws:
org.eclipse.debug.core.DebugException
-
requireResume
public void requireResume() throws org.eclipse.debug.core.DebugException- Throws:
org.eclipse.debug.core.DebugException
-
requireSuspend
public void requireSuspend() throws org.eclipse.debug.core.DebugException- Throws:
org.eclipse.debug.core.DebugException
-
requireTerminate
public void requireTerminate() throws org.eclipse.debug.core.DebugException- Throws:
org.eclipse.debug.core.DebugException
-
requireVariables
- Throws:
org.eclipse.debug.core.DebugException
-
requireSubVariables
- Throws:
org.eclipse.debug.core.DebugException
-
requireSetBreakpoint
- Throws:
org.eclipse.debug.core.DebugException
-
requireRemoveBreakpoint
- Throws:
org.eclipse.debug.core.DebugException
-
handleIOProblem
- Throws:
org.eclipse.debug.core.DebugException
-