org.eclipse.cdt.debug.internal.core.breakpoints
Class CWatchpoint
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.model.Breakpoint
org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpoint
org.eclipse.cdt.debug.internal.core.breakpoints.CWatchpoint
- All Implemented Interfaces:
- ICBreakpoint, ICWatchpoint, org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.IDebugEventSetListener, org.eclipse.debug.core.model.IBreakpoint, org.eclipse.debug.core.model.ILineBreakpoint
public class CWatchpoint
- extends CBreakpoint
- implements ICWatchpoint
A watchpoint specific to the C/C++ debug model.
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint |
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED |
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint |
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED |
Constructor Summary |
CWatchpoint()
Constructor for CWatchpoint. |
CWatchpoint(org.eclipse.core.resources.IResource resource,
java.util.Map attributes,
boolean add)
Constructor for CWatchpoint. |
Methods inherited from class org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpoint |
createMarker, decrementInstallCount, fireChanged, getCondition, getIgnoreCount, getInstallCount, getModelIdentifier, getModule, getSourceHandle, getTargetFilters, getThreadFilters, getThreadId, handleDebugEvents, incrementInstallCount, isConditional, isInstalled, register, removeTargetFilter, removeThreadFilters, resetInstallCount, setCondition, setIgnoreCount, setModule, setSourceHandle, setTargetFilter, setThreadFilters, setThreadId |
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.cdt.debug.core.model.ICBreakpoint |
decrementInstallCount, getCondition, getIgnoreCount, getModule, getSourceHandle, getTargetFilters, getThreadFilters, getThreadId, incrementInstallCount, isConditional, isInstalled, removeTargetFilter, removeThreadFilters, resetInstallCount, setCondition, setIgnoreCount, setModule, setSourceHandle, setTargetFilter, setThreadFilters, setThreadId |
Methods inherited from interface org.eclipse.debug.core.model.IBreakpoint |
delete, getMarker, getModelIdentifier, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered |
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 |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
CWatchpoint
public CWatchpoint()
- Constructor for CWatchpoint.
CWatchpoint
public CWatchpoint(org.eclipse.core.resources.IResource resource,
java.util.Map attributes,
boolean add)
throws org.eclipse.core.runtime.CoreException
- Constructor for CWatchpoint.
- Throws:
org.eclipse.core.runtime.CoreException
isWriteType
public boolean isWriteType()
throws org.eclipse.core.runtime.CoreException
- Description copied from interface:
ICWatchpoint
- Returns whether this watchppoint is a write watchpoint.
- Specified by:
isWriteType
in interface ICWatchpoint
- Returns:
- whether this watchppoint is a write watchpoint
- Throws:
org.eclipse.core.runtime.CoreException
isReadType
public boolean isReadType()
throws org.eclipse.core.runtime.CoreException
- Description copied from interface:
ICWatchpoint
- Returns whether this watchppoint is a read watchpoint.
- Specified by:
isReadType
in interface ICWatchpoint
- Returns:
- whether this watchppoint is a read watchpoint
- Throws:
org.eclipse.core.runtime.CoreException
getExpression
public java.lang.String getExpression()
throws org.eclipse.core.runtime.CoreException
- Description copied from interface:
ICWatchpoint
- Returns the watchpoint's expression.
- Specified by:
getExpression
in interface ICWatchpoint
- Returns:
- the expression of this watchpoint
- Throws:
org.eclipse.core.runtime.CoreException
getMarkerType
public static java.lang.String getMarkerType()
- Returns the type of marker associated with this type of breakpoints
getLineNumber
public int getLineNumber()
throws org.eclipse.core.runtime.CoreException
- Specified by:
getLineNumber
in interface org.eclipse.debug.core.model.ILineBreakpoint
- Throws:
org.eclipse.core.runtime.CoreException
getCharStart
public int getCharStart()
throws org.eclipse.core.runtime.CoreException
- Specified by:
getCharStart
in interface org.eclipse.debug.core.model.ILineBreakpoint
- Throws:
org.eclipse.core.runtime.CoreException
getCharEnd
public int getCharEnd()
throws org.eclipse.core.runtime.CoreException
- Specified by:
getCharEnd
in interface org.eclipse.debug.core.model.ILineBreakpoint
- Throws:
org.eclipse.core.runtime.CoreException