Interface IRuntimeEventProcessor
-
- All Known Implementing Classes:
ProfilingRuntimeDebugClientTarget
,com._1c.g5.v8.dt.internal.debug.core.model.RuntimeDebugClientTarget
public interface IRuntimeEventProcessor
Event processor for 1C:Enterprise Runtime events. Can handle feedback events from 1C:Enterprise Runtime.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleDebugTargetStart(DebugTargetId runtimeDebugTarget)
Notifies the target, that debug session has the 1C:Enterprise Runtime debug target started.void
handleDebugTargetTerminate(DebugTargetId runtimeDebugTarget)
Notifies the target, that debug session has the 1C:Enterprise Runtime debug target terminated.void
handleShowErrorRequest(boolean requestConnection, List<DebugTargetId> runtimeDebugTargets, List<ErrorViewInfoData> errorInfos)
Notifies the target, that debug session has an error occurred in BSL module, and information about this error is intended to be shown to user.void
handleShowMetadataObjectRequest(String metadataObjectName)
Notifies the target, that in debug session user run command "show in configurator"void
handleSuspension(DebugTargetId runtimeDebugTarget, List<StackItemViewInfoData> stackframes, boolean causedSuspension)
Notifies the target, that debug session has suspended by the 1C:Enterprise Runtime.void
handleSuspensionByConditionalException(DebugTargetId runtimeDebugTarget, CheckBPCondErrorInfo errorInfo)
Notifies the target, that debug session has suspended by the 1C:Enterprise Runtime exception, while evaluating condition for line breakpoint.void
handleSuspensionByException(DebugTargetId runtimeDebugTarget, GenericException exception, List<StackItemViewInfoData> stackframes)
Notifies the target, that debug session has suspended by the 1C:Enterprise Runtime exception.void
handleTerminate()
Notifies the target, that debug session has terminated.
-
-
-
Method Detail
-
handleTerminate
void handleTerminate() throws org.eclipse.debug.core.DebugException
Notifies the target, that debug session has terminated.- Throws:
org.eclipse.debug.core.DebugException
- if handling fails
-
handleSuspension
void handleSuspension(DebugTargetId runtimeDebugTarget, List<StackItemViewInfoData> stackframes, boolean causedSuspension) throws org.eclipse.debug.core.DebugException
Notifies the target, that debug session has suspended by the 1C:Enterprise Runtime. Reason for suspension can be defined bycausedSuspension
:true
- if this target caused suspension (happens when suspended by line breakpoint)false
- otherwise
- Parameters:
runtimeDebugTarget
- target debug target, that caused suspension, cannot benull
stackframes
- list of stack frames of this target, cannot benull
causedSuspension
- whether this target caused suspension- Throws:
org.eclipse.debug.core.DebugException
- if handling fails
-
handleSuspensionByException
void handleSuspensionByException(DebugTargetId runtimeDebugTarget, GenericException exception, List<StackItemViewInfoData> stackframes) throws org.eclipse.debug.core.DebugException
Notifies the target, that debug session has suspended by the 1C:Enterprise Runtime exception.- Parameters:
runtimeDebugTarget
- target debug target, that caused suspension, cannot benull
exception
- exception, that caused suspension, cannot benull
stackframes
- list of stack frames of this target, cannot benull
- Throws:
org.eclipse.debug.core.DebugException
- if handling fails
-
handleSuspensionByConditionalException
void handleSuspensionByConditionalException(DebugTargetId runtimeDebugTarget, CheckBPCondErrorInfo errorInfo) throws org.eclipse.debug.core.DebugException
Notifies the target, that debug session has suspended by the 1C:Enterprise Runtime exception, while evaluating condition for line breakpoint.- Parameters:
runtimeDebugTarget
- target debug target, that caused suspension, cannot benull
errorInfo
- error info about causing exception, cannot benull
- Throws:
org.eclipse.debug.core.DebugException
- if handling fails
-
handleShowErrorRequest
void handleShowErrorRequest(boolean requestConnection, List<DebugTargetId> runtimeDebugTargets, List<ErrorViewInfoData> errorInfos) throws org.eclipse.debug.core.DebugException
Notifies the target, that debug session has an error occurred in BSL module, and information about this error is intended to be shown to user.- Parameters:
requestConnection
- whether given 1C:Etenerprise Runtime targets attach is requestedruntimeDebugTargets
- 1C:Etenerprise Runtime targets, associated with errors, cannot benull
, can be emptyerrorInfos
- information of occurred errors, cannot benull
- Throws:
org.eclipse.debug.core.DebugException
- if handling fails
-
handleDebugTargetStart
void handleDebugTargetStart(DebugTargetId runtimeDebugTarget) throws org.eclipse.debug.core.DebugException
Notifies the target, that debug session has the 1C:Enterprise Runtime debug target started.- Parameters:
runtimeDebugTarget
- started 1C:Enterprise Runtime debug target, cannot benull
- Throws:
org.eclipse.debug.core.DebugException
- if handling fails
-
handleDebugTargetTerminate
void handleDebugTargetTerminate(DebugTargetId runtimeDebugTarget) throws org.eclipse.debug.core.DebugException
Notifies the target, that debug session has the 1C:Enterprise Runtime debug target terminated.- Parameters:
runtimeDebugTarget
- terminated 1C:Enterprise Runtime debug target, cannot benull
- Throws:
org.eclipse.debug.core.DebugException
- if handling fails
-
handleShowMetadataObjectRequest
void handleShowMetadataObjectRequest(String metadataObjectName) throws org.eclipse.debug.core.DebugException
Notifies the target, that in debug session user run command "show in configurator"- Parameters:
metadataObjectName
- name of the metadata object for openning, cannot benull
- Throws:
org.eclipse.debug.core.DebugException
- if handling fails
-
-