Package org.eclipse.debug.core.commands

package org.eclipse.debug.core.commands

Provides a set of interfaces for common debug commands.

Package Specification

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 of IStep.

  • Class
    Abstract implementation of a debug command handler.
    Handles a command for a debugger.
    A request to execute a command on specific elements.
    A disconnect handler disconnects the debug user interface from a debug session.
    A drop to frame handler typically resets a program's instruction pointer to the first executable line of code associated with a stack frame.
    A request to update the enabled state of a command.
    A restart command allows the debugger to quickly restart the current debug session without terminating and re-launching.
    A resume handler typically resumes execution of a suspended thread or target.
    A step filters handler typically toggles the use of step filters in a debug session based on the user preference setting.
    A step into handler typically steps into the next instruction to be executed.
    A step over handler typically steps over the next instruction or line of code to be executed.
    A step return handler typically steps out of the current method or function that the debugger is suspended in.
    A suspend handler typically suspends an executing thread or target.
    A terminate handler typically terminates an executing thread or target.