Interface IBslBreakpointFactory


  • public interface IBslBreakpointFactory
    Factory for BSL breakpoints. Clients may use it for creating BSL breakpoints.
    • 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 be null
        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 be null
        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 be null
        Returns:
        the newly created BSL exception breakpoint, never null
        Throws:
        org.eclipse.core.runtime.CoreException - if creation fails