Interface IRuntimeDebugTargetThread

  • All Superinterfaces:
    org.eclipse.core.runtime.IAdaptable, IConnect, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IDisconnect, org.eclipse.debug.core.model.IStep, org.eclipse.debug.core.model.ISuspendResume, org.eclipse.debug.core.model.ITerminate, org.eclipse.debug.core.model.IThread

    public interface IRuntimeDebugTargetThread
    extends org.eclipse.debug.core.model.IThread, org.eclipse.debug.core.model.IDisconnect, IConnect
    1C:Enterprise runtime debug process thread, representing 1C:Enterprise runtime debug target. One instance of IRuntimeDebugTargetThread refers to one 1C:Enterprise runtime debug target.

    Threads are grouped by IThreadGroup.

    1C:Enterprise Runtime thread supports the following:

    • Suspend and resume
    • Stepping
    • Connect
    • Disconnect
    See Also:
    IThread, IConnect, IDisconnect
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean canRestart()
      Returns whether associated 1C:Enterprise runtime debug target can currently be restarted.
      DebugTargetId getRuntimeDebugTarget()
      Returns associated 1C:Enterprise runtime debug target.
      IBslStackFrame[] getStackFrames()  
      IThreadGroup getThreadGroup()
      Returns parent thread group of this runtime debug target thread.
      IBslStackFrame getTopStackFrame()  
      void restart()
      Restarts associated 1C:Enterprise runtime debug target.
      • Methods inherited from interface org.eclipse.core.runtime.IAdaptable

        getAdapter
      • Methods inherited from interface org.eclipse.debug.core.model.IDebugElement

        getDebugTarget, getLaunch, getModelIdentifier
      • Methods inherited from interface org.eclipse.debug.core.model.IDisconnect

        canDisconnect, disconnect, isDisconnected
      • Methods inherited from interface org.eclipse.debug.core.model.IStep

        canStepInto, canStepOver, canStepReturn, isStepping, stepInto, stepOver, stepReturn
      • Methods inherited from interface org.eclipse.debug.core.model.ISuspendResume

        canResume, canSuspend, isSuspended, resume, suspend
      • Methods inherited from interface org.eclipse.debug.core.model.ITerminate

        canTerminate, isTerminated, terminate
      • Methods inherited from interface org.eclipse.debug.core.model.IThread

        getBreakpoints, getName, getPriority, hasStackFrames
    • Method Detail

      • getTopStackFrame

        IBslStackFrame getTopStackFrame()
                                 throws org.eclipse.debug.core.DebugException
        Specified by:
        getTopStackFrame in interface org.eclipse.debug.core.model.IThread
        Throws:
        org.eclipse.debug.core.DebugException
      • getStackFrames

        IBslStackFrame[] getStackFrames()
        Specified by:
        getStackFrames in interface org.eclipse.debug.core.model.IThread
      • getThreadGroup

        IThreadGroup getThreadGroup()
        Returns parent thread group of this runtime debug target thread.
        Returns:
        the parent thread group, never null
      • getRuntimeDebugTarget

        DebugTargetId getRuntimeDebugTarget()
        Returns associated 1C:Enterprise runtime debug target.
        Returns:
        the 1C:Enterprise Runtime debug target, associated with this thread, never null
      • canRestart

        boolean canRestart()
        Returns whether associated 1C:Enterprise runtime debug target can currently be restarted. Not all of debug target types and versions of 1C:Enterprise runtime supports target restart.
        Returns:
        whether associated 1C:Enterprise runtime debug target can currently be restarted
      • restart

        void restart()
              throws org.eclipse.debug.core.DebugException
        Restarts associated 1C:Enterprise runtime debug target. Associated 1C:Enterprise runtime debug target will be requested to restart 1C:Enterprise client session.
        Throws:
        org.eclipse.debug.core.DebugException - on failure. Reasons include:
        • TARGET_REQUEST_FAILED - The request failed in the target
        • NOT_SUPPORTED - The capability is not supported by the target