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 ofIDebugTarget
. 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 ofIRuntimeDebugClientTarget
.- See Also:
IDebugTarget
,IDebugTargetsConfigure
,IRuntimeDebugClientTargetManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
connect(String debugServerUrl, String infobaseAlias, String password)
Connect debug target to the target 1C:Enterprise Runtime debug server.String
getDebugServerUrl()
Returns 1C:Enterprise debug server URL, that actually this debug client target is connected with.IEvaluationEngine
getEvaluationEngine()
Returns this 1C:Enterprise Runtime debug target evaluation engine.IBslModuleLocator
getModuleLocator()
Returns BSL module locator, associated with this debug target.ScriptVariant
getScriptVariant()
Returns current script variant for debug session configuration.IThreadGroup[]
getThreadGroups()
Returns the thread groups contained in this debug target.IRuntimeDebugTargetThread[]
getThreads()
IBslValueFactory
getValuesFactory()
Returns BSL values factory, associated with this debug target.IBslVariableFactory
getVariablesFactory()
Returns BSL variables factory, associated with this debug target.-
Methods inherited from interface org.eclipse.debug.core.IBreakpointListener
breakpointAdded, breakpointChanged, breakpointRemoved
-
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getLaunch, getModelIdentifier
-
Methods inherited from interface org.eclipse.debug.core.model.IDebugTarget
getName, getProcess, hasThreads, supportsBreakpoint
-
Methods inherited from interface com._1c.g5.v8.dt.debug.core.model.IDebugTargetsConfigure
canConfigure, configureDebugArea, getAutoconnectDebugTargets, getDebugAreaName, getDebugAreas, setAutoconnectDebugTargets, setDebugAreas
-
Methods inherited from interface org.eclipse.debug.core.model.IDisconnect
canDisconnect, disconnect, isDisconnected
-
Methods inherited from interface org.eclipse.debug.core.model.IMemoryBlockRetrieval
getMemoryBlock, supportsStorageRetrieval
-
Methods inherited from interface com._1c.g5.v8.dt.debug.core.model.IRuntimeDebugElement
getDebugTarget
-
-
-
-
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 benull
infobaseAlias
- the infobase alias, cannot benull
password
- the password to use for debug server connection, can benull
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 interfaceorg.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, returnsScriptVariant.ENGLISH
.- Returns:
- a current script variant for debug session configuration, never
null
-
-