Class LineBreakpoint

All Implemented Interfaces:
IAdaptable, IBreakpoint, ILineBreakpoint, ITriggerPoint

public abstract class LineBreakpoint extends Breakpoint implements ILineBreakpoint
Abstract implementation of a line breakpoint. This class is intended to be subclassed by debug model specific implementations of line breakpoints.
See Also:
  • Constructor Details

    • LineBreakpoint

      public LineBreakpoint()
  • Method Details

    • getLineNumber

      public int getLineNumber() throws CoreException
      Description copied from interface: ILineBreakpoint
      Returns the line number in the original source that corresponds to the location of this breakpoint, or -1 if the attribute is not present.
      Specified by:
      getLineNumber in interface ILineBreakpoint
      Returns:
      this breakpoint's line number, or -1 if unknown
      Throws:
      CoreException - if a CoreException is thrown while accessing the underlying IMarker.LINE_NUMBER marker attribute
      See Also:
    • getCharStart

      public int getCharStart() throws CoreException
      Description copied from interface: ILineBreakpoint
      Returns starting source index in the original source that corresponds to the location of this breakpoint, or -1 if the attribute is not present.
      Specified by:
      getCharStart in interface ILineBreakpoint
      Returns:
      this breakpoint's char start value, or -1 if unknown
      Throws:
      CoreException - if a CoreException is thrown while accessing the underlying IMarker.CHAR_START marker attribute
      See Also:
    • getCharEnd

      public int getCharEnd() throws CoreException
      Description copied from interface: ILineBreakpoint
      Returns ending source index in the original source that corresponds to the location of this breakpoint, or -1 if the attribute is not present.
      Specified by:
      getCharEnd in interface ILineBreakpoint
      Returns:
      this breakpoint's char end value, or -1 if unknown
      Throws:
      CoreException - if a CoreException is thrown while accessing the underlying IMarker.CHAR_END marker attribute
      See Also: