Provides a set of interfaces for common debug commands.
This package provides a set interfaces for common debug commands. A debug command represent a debugger function that can be enabled or disabled and executed. The debug platform provides actions corresponding to the common debug commands. The actions delegate to the command handler interfaces to determine enabled state and execute.
A debugger implementation can provide its own implementation of a command by
implementing a command handler interface directly, or by registering an adapter
that implements the command handler interface. The debug platform's actions
update enabled state and execute based on the active debug context. The debug
platform provides implementations of handlers for the common debug commands
for debuggers that are an implementation of the standard debug model. For example,
the debug platform registers an
IStepOverHandler adapter for implementations
Interface Summary Interface Description IDebugCommandHandlerHandles a command for a debugger. IDebugCommandRequestA request to execute a command on specific elements. IDisconnectHandlerA disconnect handler disconnects the debug user interface from a debug session. IDropToFrameHandlerA drop to frame handler typically resets a program's instruction pointer to the first executable line of code associated with a stack frame. IEnabledStateRequestA request to update the enabled state of a command. IRestartHandlerA restart command allows the debugger to quickly restart the current debug session without terminating and re-launching. IResumeHandlerA resume handler typically resumes execution of a suspended thread or target. IStepFiltersHandlerA step filters handler typically toggles the use of step filters in a debug session based on the user preference setting. IStepIntoHandlerA step into handler typically steps into the next instruction to be executed. IStepOverHandlerA step over handler typically steps over the next instruction or line of code to be executed. IStepReturnHandlerA step return handler typically steps out of the current method or function that the debugger is suspended in. ISuspendHandlerA suspend handler typically suspends an executing thread or target. ITerminateHandlerA terminate handler typically terminates an executing thread or target.
Class Summary Class Description AbstractDebugCommandAbstract implementation of a debug command handler.