Package org.eclipse.debug.core.model
Interface ILineBreakpoint
-
- All Superinterfaces:
IAdaptable,IBreakpoint
- All Known Implementing Classes:
LineBreakpoint
public interface ILineBreakpoint extends IBreakpoint
A breakpoint that can be located at a specific line of source code.
-
-
Field Summary
-
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCharEnd()Returns ending source index in the original source that corresponds to the location of this breakpoint, or -1 if the attribute is not present.intgetCharStart()Returns starting source index in the original source that corresponds to the location of this breakpoint, or -1 if the attribute is not present.intgetLineNumber()Returns 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 interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Methods inherited from interface org.eclipse.debug.core.model.IBreakpoint
delete, getMarker, getModelIdentifier, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered
-
-
-
-
Method Detail
-
getLineNumber
int getLineNumber() throws CoreExceptionReturns the line number in the original source that corresponds to the location of this breakpoint, or -1 if the attribute is not present.- Returns:
- this breakpoint's line number, or -1 if unknown
- Throws:
CoreException- if aCoreExceptionis thrown while accessing the underlyingIMarker.LINE_NUMBERmarker attribute
-
getCharStart
int getCharStart() throws CoreExceptionReturns starting source index in the original source that corresponds to the location of this breakpoint, or -1 if the attribute is not present.- Returns:
- this breakpoint's char start value, or -1 if unknown
- Throws:
CoreException- if aCoreExceptionis thrown while accessing the underlyingIMarker.CHAR_STARTmarker attribute
-
getCharEnd
int getCharEnd() throws CoreExceptionReturns ending source index in the original source that corresponds to the location of this breakpoint, or -1 if the attribute is not present.- Returns:
- this breakpoint's char end value, or -1 if unknown
- Throws:
CoreException- if aCoreExceptionis thrown while accessing the underlyingIMarker.CHAR_ENDmarker attribute
-
-