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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IDebugSession.IDebugSessionTerminationListener
Listener that wants to know when debug session has ended.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addTerminationListener(IDebugSession.IDebugSessionTerminationListener listener)
Adds a listener that will be notified when this debug session ends.void
addThread(IRuntimeDebugTargetThread thread)
Add new thread to this thread group.BigDecimal
getSessionId()
Gets session identifier.UUID
getSessionUuid()
Returns associated session UUID.void
removeThread(IRuntimeDebugTargetThread thread)
Remove given thread from this group.-
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
-
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 com._1c.g5.v8.dt.debug.core.model.IThreadGroup
getName, getThreads, hasThreads
-
-
-
-
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 benull
-
addThread
void addThread(IRuntimeDebugTargetThread thread)
Add new thread to this thread group.- Parameters:
thread
- thread to add, cannot benull
-
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 benull
.
-
-