com.pvx.ooadide.launchers.debug.breakpoints
Class PVXRunToLineBreakpoint
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.model.Breakpoint
org.eclipse.debug.core.model.LineBreakpoint
com.pvx.ooadide.launchers.debug.breakpoints.PVXLineBreakpoint
com.pvx.ooadide.launchers.debug.breakpoints.PVXRunToLineBreakpoint
- All Implemented Interfaces:
- IPVXEventListener, org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IBreakpoint, org.eclipse.debug.core.model.ILineBreakpoint
public class PVXRunToLineBreakpoint
- extends PVXLineBreakpoint
A run to line breakpoint.
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint |
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED |
Constructor Summary |
PVXRunToLineBreakpoint(org.eclipse.core.resources.IFile resource,
int lineNumber)
Constructs a run-to-line breakpoint in the given PVX program. |
Method Summary |
org.eclipse.core.resources.IFile |
getSourceFile()
Returns the source file this breakpoint is contained in. |
boolean |
isRunToLineBreakpoint()
Returns whether this breakpoint is a run-to-line breakpoint |
Methods inherited from class org.eclipse.debug.core.model.LineBreakpoint |
getCharEnd, getCharStart, getLineNumber |
Methods inherited from class org.eclipse.debug.core.model.Breakpoint |
delete, equals, getMarker, hashCode, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered |
Methods inherited from class org.eclipse.core.runtime.PlatformObject |
getAdapter |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.debug.core.model.IBreakpoint |
delete, getMarker, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
PVXRunToLineBreakpoint
public PVXRunToLineBreakpoint(org.eclipse.core.resources.IFile resource,
int lineNumber)
throws org.eclipse.debug.core.DebugException
- Constructs a run-to-line breakpoint in the given PVX program.
- Parameters:
resource
- PVX source filelineNumber
- line to run to
- Throws:
org.eclipse.debug.core.DebugException
- if unable to create the breakpoint
isRunToLineBreakpoint
public boolean isRunToLineBreakpoint()
- Returns whether this breakpoint is a run-to-line breakpoint
- Overrides:
isRunToLineBreakpoint
in class PVXLineBreakpoint
- Returns:
- whether this breakpoint is a run-to-line breakpoint
getSourceFile
public org.eclipse.core.resources.IFile getSourceFile()
- Returns the source file this breakpoint is contained in.
- Returns:
- the source file this breakpoint is contained in