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 int
getCharEnd()
Returns ending source index in the original source that corresponds to the location of this breakpoint, or -1 if the attribute is not present.int
getCharStart()
Returns starting source index in the original source that corresponds to the location of this breakpoint, or -1 if the attribute is not present.int
getLineNumber()
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 CoreException
Returns 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 aCoreException
is thrown while accessing the underlyingIMarker.LINE_NUMBER
marker attribute
-
getCharStart
int getCharStart() throws CoreException
Returns 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 aCoreException
is thrown while accessing the underlyingIMarker.CHAR_START
marker attribute
-
getCharEnd
int getCharEnd() throws CoreException
Returns 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 aCoreException
is thrown while accessing the underlyingIMarker.CHAR_END
marker attribute
-
-