Interface IBslBreakpointFactory
-
public interface IBslBreakpointFactory
Factory forBSL breakpoints
. Clients may use it for creating BSL breakpoints.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IBslExceptionBreakpoint
createExceptionBreakpoint()
Creates and returns a BSL exception breakpoint for catching all exceptions.IBslExceptionBreakpoint
createExceptionBreakpoint(String exceptionMessage)
Creates and returns a BSL exception breakpoint for catching exceptions, that contains given substring.IBslLineBreakpoint
createLineBreakpoint(org.eclipse.core.resources.IResource resource, int lineNumber)
Creates and returns a BSL line breakpoint at the given line number.IBslRunToLineBreakpoint
createRunToLineBreakpoint(org.eclipse.core.resources.IResource resource, int lineNumber)
Creates and returns a BSL run-to-line breakpoint at the given line number.
-
-
-
Method Detail
-
createLineBreakpoint
IBslLineBreakpoint createLineBreakpoint(org.eclipse.core.resources.IResource resource, int lineNumber) throws org.eclipse.core.runtime.CoreException
Creates and returns a BSL line breakpoint at the given line number. The marker associated with the breakpoint will be created on the specified resource.- Parameters:
resource
- the resource on which to create the associated breakpoint marker, cannot benull
lineNumber
- the line number to stop execution at; line numbers are 1-based, associated with the source file in which the breakpoint is set- Returns:
- the newly created BSL line breakpoint, never
null
- Throws:
org.eclipse.core.runtime.CoreException
- if creation fails
-
createRunToLineBreakpoint
IBslRunToLineBreakpoint createRunToLineBreakpoint(org.eclipse.core.resources.IResource resource, int lineNumber) throws org.eclipse.core.runtime.CoreException
Creates and returns a BSL run-to-line breakpoint at the given line number. The marker associated with the breakpoint will be created on the specified resource.- Parameters:
resource
- the resource on which to create the associated breakpoint marker, cannot benull
lineNumber
- the line number to run execution flow to; line numbers are 1-based, associated with the source file in which the breakpoint is set- Returns:
- the newly created BSL line breakpoint, never
null
- Throws:
org.eclipse.core.runtime.CoreException
- if creation fails
-
createExceptionBreakpoint
IBslExceptionBreakpoint createExceptionBreakpoint() throws org.eclipse.core.runtime.CoreException
Creates and returns a BSL exception breakpoint for catching all exceptions.- Returns:
- the newly created BSL exception breakpoint, never
null
- Throws:
org.eclipse.core.runtime.CoreException
- if creation fails
-
createExceptionBreakpoint
IBslExceptionBreakpoint createExceptionBreakpoint(String exceptionMessage) throws org.eclipse.core.runtime.CoreException
Creates and returns a BSL exception breakpoint for catching exceptions, that contains given substring.- Parameters:
exceptionMessage
- the exception message substring to catch BSL exceptions, cannot benull
- Returns:
- the newly created BSL exception breakpoint, never
null
- Throws:
org.eclipse.core.runtime.CoreException
- if creation fails
-
-