Interface IDebugSession

  • All Superinterfaces:
    org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IStep, org.eclipse.debug.core.model.ISuspendResume, IThreadGroup

    public interface IDebugSession
    extends IThreadGroup
    Represents a session on debug server.
    • Method Detail

      • getSessionUuid

        UUID getSessionUuid()
        Returns associated session UUID.
        Returns:
        session UUD, never null
      • getSessionId

        BigDecimal getSessionId()
        Gets session identifier.
        Returns:
        Identifier of the session. Never null.
      • removeThread

        void removeThread​(IRuntimeDebugTargetThread thread)
        Remove given thread from this group.
        Parameters:
        thread - thread to remove, cannot be null
      • addThread

        void addThread​(IRuntimeDebugTargetThread thread)
        Add new thread to this thread group.
        Parameters:
        thread - thread to add, cannot be null
      • addTerminationListener

        void addTerminationListener​(IDebugSession.IDebugSessionTerminationListener listener)
        Adds a listener that will be notified when this debug session ends.

        When a listener is registered multiple times, it will be notified only once.

        Parameters:
        listener - Listener to be notified. Must not be null.