Interface IRuntimeDebugClientTarget

  • All Superinterfaces:
    org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.IBreakpointListener, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IDebugTarget, IDebugTargetsConfigure, org.eclipse.debug.core.model.IDisconnect, org.eclipse.debug.core.model.IMemoryBlockRetrieval, IRuntimeDebugElement, org.eclipse.debug.core.model.ISuspendResume, org.eclipse.debug.core.model.ITerminate
    All Known Implementing Classes:
    ProfilingRuntimeDebugClientTarget, com._1c.g5.v8.dt.internal.debug.core.model.RuntimeDebugClientTarget

    public interface IRuntimeDebugClientTarget
    extends org.eclipse.debug.core.model.IDebugTarget, IRuntimeDebugElement, IDebugTargetsConfigure
    1C:Enterprise Runtime debug implementation of IDebugTarget. Represents 1C:Enterprise Runtime debug server client session. Each instance is associated with one debug process session. Also can be used to configure 1C:Enteprise Runtime debug areas.

    Clients may use IRuntimeDebugClientTargetManager to get instances of IRuntimeDebugClientTarget.

    See Also:
    IDebugTarget, IDebugTargetsConfigure, IRuntimeDebugClientTargetManager
    • Method Detail

      • connect

        boolean connect​(String debugServerUrl,
                        String infobaseAlias,
                        String password)
                 throws org.eclipse.debug.core.DebugException
        Connect debug target to the target 1C:Enterprise Runtime debug server. Returns connection state.

        Method is intended to be invoked before all other actions with the target.

        Parameters:
        debugServerUrl - the debug server URL, cannot be null
        infobaseAlias - the infobase alias, cannot be null
        password - the password to use for debug server connection, can be null if not needed
        Returns:
        whether connection was successful
        Throws:
        org.eclipse.debug.core.DebugException - if the request fails
      • getThreads

        IRuntimeDebugTargetThread[] getThreads()
        Specified by:
        getThreads in interface org.eclipse.debug.core.model.IDebugTarget
      • getThreadGroups

        IThreadGroup[] getThreadGroups()
                                throws org.eclipse.debug.core.DebugException
        Returns the thread groups contained in this debug target. An empty collection is returned if this debug target contains no thread groups.
        Returns:
        a collection of thread groups, never null
        Throws:
        org.eclipse.debug.core.DebugException - if the request fails
      • getEvaluationEngine

        IEvaluationEngine getEvaluationEngine()
        Returns this 1C:Enterprise Runtime debug target evaluation engine. Evaluation engine can be used to perform asynchronous evaluation of expressions or variables.
        Returns:
        the debug target evaluation engine, never null
        See Also:
        IEvaluationEngine
      • getValuesFactory

        IBslValueFactory getValuesFactory()
        Returns BSL values factory, associated with this debug target. BSL values factory can be used for creating new BSL values.
        Returns:
        the BSL values factory, never null
        See Also:
        IBslValueFactory
      • getVariablesFactory

        IBslVariableFactory getVariablesFactory()
        Returns BSL variables factory, associated with this debug target. BSL variables factory can be used for creating new BSL variables.
        Returns:
        the BSL variables factory, never null
        See Also:
        IBslVariableFactory
      • getModuleLocator

        IBslModuleLocator getModuleLocator()
        Returns BSL module locator, associated with this debug target. BSL module locator can be used to locale BSL modules.
        Returns:
        the BSL module locator, never null
        See Also:
        IBslModuleLocator
      • getDebugServerUrl

        String getDebugServerUrl()
        Returns 1C:Enterprise debug server URL, that actually this debug client target is connected with.
        Returns:
        the 1C:Enterprise debug server URL, never null
      • getScriptVariant

        ScriptVariant getScriptVariant()
        Returns current script variant for debug session configuration. If there are no sources of configuration, returns ScriptVariant.ENGLISH.
        Returns:
        a current script variant for debug session configuration, never null