Interface IDebugTarget

    • Method Detail

      • getProcess

        IProcess getProcess()
        Returns the system process associated with this debug target.
        Returns:
        the system process associated with this debug target
      • getThreads

        IThread[] getThreads()
                      throws DebugException
        Returns the threads contained in this debug target. An empty collection is returned if this debug target contains no threads.
        Returns:
        a collection of threads
        Throws:
        DebugException - if this method fails. Reasons include:
        • Failure communicating with the debug target. The DebugException's status code contains the underlying exception responsible for the failure.
        Since:
        2.0
      • hasThreads

        boolean hasThreads()
                    throws DebugException
        Returns whether this debug target currently contains any threads.
        Returns:
        whether this debug target currently contains any threads
        Throws:
        DebugException - if this method fails. Reasons include:
        • Failure communicating with the debug target. The DebugException's status code contains the underlying exception responsible for the failure.
        Since:
        2.0
      • getName

        String getName()
                throws DebugException
        Returns the name of this debug target. Name format is debug model specific, and should be specified by a debug model.
        Returns:
        this target's name
        Throws:
        DebugException - if this method fails. Reasons include:
        • Failure communicating with the debug target. The DebugException's status code contains the underlying exception responsible for the failure.
      • supportsBreakpoint

        boolean supportsBreakpoint​(IBreakpoint breakpoint)
        Returns whether this target can install the given breakpoint.
        Parameters:
        breakpoint - breakpoint to consider
        Returns:
        whether this target can install the given breakpoint