Package org.eclipse.debug.core.model
Class LineBreakpoint
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.model.Breakpoint
org.eclipse.debug.core.model.LineBreakpoint
- All Implemented Interfaces:
IAdaptable,IBreakpoint,ILineBreakpoint,ITriggerPoint
Abstract implementation of a line breakpoint. This class is
intended to be subclassed by debug model specific implementations
of line breakpoints.
- See Also:
-
Field Summary
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTEREDFields inherited from interface org.eclipse.debug.core.model.ITriggerPoint
TRIGGERPOINT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns ending source index in the original source that corresponds to the location of this breakpoint, or -1 if the attribute is not present.intReturns starting source index in the original source that corresponds to the location of this breakpoint, or -1 if the attribute is not present.intReturns the line number in the original source that corresponds to the location of this breakpoint, or -1 if the attribute is not present.Methods inherited from class org.eclipse.debug.core.model.Breakpoint
delete, ensureMarker, equals, getBreakpointLabel, getMarker, getMarkerRule, getMarkerRule, hashCode, isEnabled, isPersisted, isRegistered, isTriggerPoint, markerExists, run, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setBreakpointLabel, setEnabled, setMarker, setPersisted, setRegistered, setTriggerPoint, toStringMethods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapterMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.debug.core.model.IBreakpoint
delete, getMarker, getModelIdentifier, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered
-
Constructor Details
-
LineBreakpoint
public LineBreakpoint()
-
-
Method Details
-
getLineNumber
Description copied from interface:ILineBreakpointReturns 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:
getLineNumberin interfaceILineBreakpoint- Returns:
- this breakpoint's line number, or -1 if unknown
- Throws:
CoreException- if aCoreExceptionis thrown while accessing the underlyingIMarker.LINE_NUMBERmarker attribute- See Also:
-
getCharStart
Description copied from interface:ILineBreakpointReturns 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:
getCharStartin interfaceILineBreakpoint- Returns:
- this breakpoint's char start value, or -1 if unknown
- Throws:
CoreException- if aCoreExceptionis thrown while accessing the underlyingIMarker.CHAR_STARTmarker attribute- See Also:
-
getCharEnd
Description copied from interface:ILineBreakpointReturns 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:
getCharEndin interfaceILineBreakpoint- Returns:
- this breakpoint's char end value, or -1 if unknown
- Throws:
CoreException- if aCoreExceptionis thrown while accessing the underlyingIMarker.CHAR_ENDmarker attribute- See Also:
-