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 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 by causedSuspension:
        • true - if this target caused suspension (happens when suspended by line breakpoint)
        • false - otherwise
        Parameters:
        runtimeDebugTarget - target debug target, that caused suspension, cannot be null
        stackframes - list of stack frames of this target, cannot be null
        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 be null
        exception - exception, that caused suspension, cannot be null
        stackframes - list of stack frames of this target, cannot be null
        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 be null
        errorInfo - error info about causing exception, cannot be null
        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 requested
        runtimeDebugTargets - 1C:Etenerprise Runtime targets, associated with errors, cannot be null, can be empty
        errorInfos - information of occurred errors, cannot be null
        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 be null
        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 be null
        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 be null
        Throws:
        org.eclipse.debug.core.DebugException - if handling fails