org.eclipse.ocl.examples.debug.vm.core
Class VMLineBreakpoint
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.model.Breakpoint
org.eclipse.debug.core.model.LineBreakpoint
org.eclipse.ocl.examples.debug.vm.core.VMLineBreakpoint
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IBreakpoint, org.eclipse.debug.core.model.ILineBreakpoint
- Direct Known Subclasses:
- OCLLineBreakpoint
public abstract class VMLineBreakpoint
- extends org.eclipse.debug.core.model.LineBreakpoint
Field Summary |
protected static java.lang.String |
CONDITION
Breakpoint attribute storing a breakpoint's conditional expression |
protected static java.lang.String |
CONDITION_ENABLED
Breakpoint attribute storing a breakpoint's condition enablement |
protected static java.lang.String |
CONDITION_SUSPEND_ON_TRUE
Breakpoint attribute storing a breakpoint's condition suspend policy |
protected static java.lang.String |
HIT_COUNT
|
protected static int |
HIT_COUNT_UNDEFINED
|
static java.lang.Object |
OCL_BREAKPOINT_JOBFAMILY
Family for breakpoint validation job (@see OCLToggleBreakpointAdapter::toggleLineBreakpoints()) |
protected static java.lang.String |
RUN_TO_LINE
|
protected static java.lang.String |
TARGET_URI_ATTR
|
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint |
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED |
Methods inherited from class org.eclipse.debug.core.model.LineBreakpoint |
getCharEnd, getCharStart, getLineNumber |
Methods inherited from class org.eclipse.debug.core.model.Breakpoint |
delete, ensureMarker, equals, getMarker, getMarkerRule, getMarkerRule, hashCode, isEnabled, isPersisted, isRegistered, markerExists, run, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setEnabled, setMarker, setPersisted, setRegistered |
Methods inherited from class org.eclipse.core.runtime.PlatformObject |
getAdapter |
Methods inherited from class java.lang.Object |
clone, finalize, 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 |
OCL_BREAKPOINT_JOBFAMILY
public static final java.lang.Object OCL_BREAKPOINT_JOBFAMILY
- Family for breakpoint validation job (@see OCLToggleBreakpointAdapter::toggleLineBreakpoints())
- Since:
- 1.3
HIT_COUNT
protected static final java.lang.String HIT_COUNT
- See Also:
- Constant Field Values
HIT_COUNT_UNDEFINED
protected static final int HIT_COUNT_UNDEFINED
- See Also:
- Constant Field Values
CONDITION
protected static final java.lang.String CONDITION
- Breakpoint attribute storing a breakpoint's conditional expression
- See Also:
- Constant Field Values
CONDITION_ENABLED
protected static final java.lang.String CONDITION_ENABLED
- Breakpoint attribute storing a breakpoint's condition enablement
- See Also:
- Constant Field Values
CONDITION_SUSPEND_ON_TRUE
protected static final java.lang.String CONDITION_SUSPEND_ON_TRUE
- Breakpoint attribute storing a breakpoint's condition suspend policy
- See Also:
- Constant Field Values
TARGET_URI_ATTR
protected static final java.lang.String TARGET_URI_ATTR
- See Also:
- Constant Field Values
RUN_TO_LINE
protected static final java.lang.String RUN_TO_LINE
- See Also:
- Constant Field Values
VMLineBreakpoint
protected VMLineBreakpoint()
VMLineBreakpoint
protected VMLineBreakpoint(@NonNull
org.eclipse.emf.common.util.URI sourceURI,
int lineNumber,
boolean isRunToLine)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
getID
public long getID()
getUnitURI
public org.eclipse.emf.common.util.URI getUnitURI()
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
createNewBreakpointData
@NonNull
public VMNewBreakpointData createNewBreakpointData()
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
createBreakpointData
@NonNull
public VMBreakpointData createBreakpointData()
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
setBreakpointData
public void setBreakpointData(VMBreakpointData bpData)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
getModelIdentifier
@NonNull
public java.lang.String getModelIdentifier()
getDebugCore
@NonNull
protected abstract VMDebugCore getDebugCore()
register
public void register(boolean register)
throws org.eclipse.core.runtime.CoreException
- Add this breakpoint to the breakpoint manager,
or sets it as unregistered.
- Throws:
org.eclipse.core.runtime.CoreException
getHitCount
public int getHitCount()
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
setHitCount
public void setHitCount(int count)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
isLineToRunBreakpoint
public boolean isLineToRunBreakpoint()
supportsCondition
public boolean supportsCondition()
getCondition
public java.lang.String getCondition()
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
setCondition
public void setCondition(java.lang.String condition)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
isConditionEnabled
public boolean isConditionEnabled()
setConditionEnabled
public void setConditionEnabled(boolean conditionEnabled)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
isConditionSuspendOnTrue
public boolean isConditionSuspendOnTrue()
throws org.eclipse.debug.core.DebugException
- Throws:
org.eclipse.debug.core.DebugException
setConditionSuspendOnTrue
public void setConditionSuspendOnTrue(boolean suspendOnTrue)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException