|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICBreakpoint
A breakpoint specific to the C/C++ debug model. A C/C++ breakpoint supports:
Field Summary | |
---|---|
static java.lang.String |
CONDITION
Breakpoint attribute storing the conditional expression associated with this breakpoint (value "org.eclipse.cdt.debug.core.condition" ). |
static java.lang.String |
IGNORE_COUNT
Breakpoint attribute storing a breakpoint's ignore count value (value "org.eclipse.cdt.debug.core.ignoreCount" ). |
static java.lang.String |
INSTALL_COUNT
Breakpoint attribute storing the number of debug targets a breakpoint is installed in (value "org.eclipse.cdt.debug.core.installCount" ). |
static java.lang.String |
MODULE
Breakpoint attribute storing the module name this breakpoint is set in (value "org.eclipse.cdt.debug.core.module" ). |
static java.lang.String |
SOURCE_HANDLE
Breakpoint attribute storing the source handle of the file this breakpoint is set in (value "org.eclipse.cdt.debug.core.sourceHandle" ). |
static java.lang.String |
THREAD_ID
Breakpoint attribute storing an identifier of the thread this breakpoint is restricted in (value "org.eclipse.cdt.debug.core.threadId" ). |
Fields inherited from interface org.eclipse.debug.core.model.IBreakpoint |
---|
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED |
Method Summary | |
---|---|
int |
decrementInstallCount()
Decrements the install count of this breakpoint. |
java.lang.String |
getCondition()
Returns the conditional expression associated with this breakpoint. |
int |
getIgnoreCount()
Returns the ignore count used by this breakpoint. |
java.lang.String |
getModule()
Returns the module name this breakpoint is set in. |
java.lang.String |
getSourceHandle()
Returns the source handle this breakpoint is set in. |
ICDebugTarget[] |
getTargetFilters()
Returns all target filters set on this breakpoint. |
ICThread[] |
getThreadFilters(ICDebugTarget target)
Returns the threads in the given target in which this breakpoint is enabled or null if this breakpoint is enabled in
all threads in the given target. |
java.lang.String |
getThreadId()
Returns the identifier of the thread this breakpoint is restricted in. |
int |
incrementInstallCount()
Increments the install count of this breakpoint |
boolean |
isConditional()
Returns whether this breakpoint is conditional. |
boolean |
isInstalled()
Returns whether this breakpoint is installed in at least one debug target. |
void |
removeTargetFilter(ICDebugTarget target)
Removes the given target from the breakpoint's target list. |
void |
removeThreadFilters(ICThread[] threads)
Removes this breakpoint's thread filters in the given target, if any. |
void |
resetInstallCount()
Resets the install count of this breakpoint |
void |
setCondition(java.lang.String condition)
Sets the condition associated with this breakpoint. |
void |
setIgnoreCount(int ignoreCount)
Sets the ignore count attribute for this breakpoint. |
void |
setModule(java.lang.String module)
Sets the module name of this breakpoint. |
void |
setSourceHandle(java.lang.String sourceHandle)
Sets the source handle of this breakpoint. |
void |
setTargetFilter(ICDebugTarget target)
Add the given target to the list of this breakpoint's targets. |
void |
setThreadFilters(ICThread[] threads)
Restricts this breakpoint to suspend only in the given threads when encounterd in the given threads' target. |
void |
setThreadId(java.lang.String threadId)
Restricts this breakpoint to suspend only in the given thread when encounterd in the given thread's target. |
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 |
Field Detail |
---|
static final java.lang.String INSTALL_COUNT
"org.eclipse.cdt.debug.core.installCount"
).
This attribute is an int
.
static final java.lang.String CONDITION
"org.eclipse.cdt.debug.core.condition"
).
This attribute is a String
.
static final java.lang.String IGNORE_COUNT
"org.eclipse.cdt.debug.core.ignoreCount"
). This attribute
is an int
.
static final java.lang.String THREAD_ID
"org.eclipse.cdt.debug.core.threadId"
).
This attribute is a String
.
static final java.lang.String SOURCE_HANDLE
"org.eclipse.cdt.debug.core.sourceHandle"
).
This attribute is a String
.
static final java.lang.String MODULE
"org.eclipse.cdt.debug.core.module"
).
This attribute is a String
.
Method Detail |
---|
boolean isInstalled() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- if unable to access the property on this breakpoint's
underlying markerboolean isConditional() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- if unable to access the property on this breakpoint's
underlying markerjava.lang.String getCondition() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- if unable to access the property on this breakpoint's
underlying markervoid setCondition(java.lang.String condition) throws org.eclipse.core.runtime.CoreException
condition
- the conditional expression
org.eclipse.core.runtime.CoreException
- if unable to access the property on this breakpoint's
underlying markerint getIgnoreCount() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- if unable to access the property on this breakpoint's
underlying markervoid setIgnoreCount(int ignoreCount) throws org.eclipse.core.runtime.CoreException
ignoreCount
- the new ignore count
org.eclipse.core.runtime.CoreException
- if unable to access the property on this breakpoint's
underlying markerjava.lang.String getThreadId() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- if unable to access the property on this breakpoint's
underlying markervoid setThreadId(java.lang.String threadId) throws org.eclipse.core.runtime.CoreException
threadId
- the thread identifier
org.eclipse.core.runtime.CoreException
- if unable to access the property on this breakpoint's
underlying markerjava.lang.String getModule() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- if unable to access the property on this breakpoint's
underlying markervoid setModule(java.lang.String module) throws org.eclipse.core.runtime.CoreException
module
- the module name
org.eclipse.core.runtime.CoreException
- if unable to access the property on this breakpoint's
underlying markerjava.lang.String getSourceHandle() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- if unable to access the property on this breakpoint's
underlying markervoid setSourceHandle(java.lang.String sourceHandle) throws org.eclipse.core.runtime.CoreException
sourceHandle
- the source handle
org.eclipse.core.runtime.CoreException
- if unable to access the property on this breakpoint's
underlying markerint incrementInstallCount() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- if unable to access the property
on this breakpoint's underlying markerint decrementInstallCount() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- if unable to access the property
on this breakpoint's underlying markervoid resetInstallCount() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- if unable to access the property
on this breakpoint's underlying markervoid setTargetFilter(ICDebugTarget target) throws org.eclipse.core.runtime.CoreException
target
- the target to add to the list of this breakpoint's targets.
org.eclipse.core.runtime.CoreException
- if unable to set the target filtervoid removeTargetFilter(ICDebugTarget target) throws org.eclipse.core.runtime.CoreException
target
- the target filter to be removed
org.eclipse.core.runtime.CoreException
- if unable to remove the target filtervoid setThreadFilters(ICThread[] threads) throws org.eclipse.core.runtime.CoreException
threads
- the thread filters to be set
org.eclipse.core.runtime.CoreException
- if unable to set the thread filtersICDebugTarget[] getTargetFilters() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- if unable to determine this breakpoint's
target filtersvoid removeThreadFilters(ICThread[] threads) throws org.eclipse.core.runtime.CoreException
threads
- the thread filters to be removed
org.eclipse.core.runtime.CoreException
- if unable to remove the thread filterICThread[] getThreadFilters(ICDebugTarget target) throws org.eclipse.core.runtime.CoreException
null
if this breakpoint is enabled in
all threads in the given target.
org.eclipse.core.runtime.CoreException
- if unable to determine this breakpoint's thread
filters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |