Interface IBslBreakpointListener
-
public interface IBslBreakpointListener
Provides event and error notifications for BSL breakpoints.Clients may use
IBslBreakpointListenerManager
to add and remove listeners.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IBslBreakpointListener.Action
Action, that is preferred to execute.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
breakpointHasRuntimeError(IBslLineBreakpoint breakpoint, String title, String errorMessage)
Notifies the listener, that the given breakpoint has 1C:Enterprise runtime errors in its conditional expression.IBslBreakpointListener.Action
breakpointHit(IBslBreakpoint breakpoint)
Notifies the listener, that the given breakpoint has been hit in 1C:Enterprise runtime.void
showErrorRequested(org.eclipse.emf.common.util.URI moduleUri, int lineNumber, int positionInLine, String moduleName, String description, String presentation)
Notifies the listener, that an error occurred in BSL module with given URI in given position with given error description, and information about this error is intended to be shown to user.void
showMetadataObjectRequested(org.eclipse.emf.common.util.URI object)
Notifies the listener, that in debug session user run command "show in configurator"
-
-
-
Method Detail
-
breakpointHit
IBslBreakpointListener.Action breakpointHit(IBslBreakpoint breakpoint)
Notifies the listener, that the given breakpoint has been hit in 1C:Enterprise runtime. Allows this listener to vote to determine if 1C:Enterprise runtime thread should be suspended in response to the breakpoint. If at least one listener votes toSUSPEND
, the thread will suspend.- Parameters:
breakpoint
- the breakpoint, cannot benull
- Returns:
- whether the 1C:Enterprise runtime thread should suspend or whether this listener doesn't care - one
of
SUSPEND
orSKIP
-
breakpointHasRuntimeError
void breakpointHasRuntimeError(IBslLineBreakpoint breakpoint, String title, String errorMessage)
Notifies the listener, that the given breakpoint has 1C:Enterprise runtime errors in its conditional expression.- Parameters:
breakpoint
- the breakpoint, cannot benull
title
- error dialog title, cannot benull
error
- error message for the breakpoint's condition error, cnnot benull
-
showErrorRequested
void showErrorRequested(org.eclipse.emf.common.util.URI moduleUri, int lineNumber, int positionInLine, String moduleName, String description, String presentation)
Notifies the listener, that an error occurred in BSL module with given URI in given position with given error description, and information about this error is intended to be shown to user.- Parameters:
moduleUri
- BSL module URI, cannot benull
lineNumber
- module line number with errorpositionInLine
- position in this line numbermoduleName
- BSL module name, returned from 1C:Enterprise runtime, cannot benull
description
- error short description, cannot benull
presentation
- error full presentation to show, can be multi-line, cannot benull
-
showMetadataObjectRequested
void showMetadataObjectRequested(org.eclipse.emf.common.util.URI object)
Notifies the listener, that in debug session user run command "show in configurator"- Parameters:
object
-URI
of object to open editor, cannot benull
-
-