public interface IPDIBreakpointManager extends IPDIManager
| Modifier and Type | Method and Description |
|---|---|
void |
addSetBreakpoint(TaskSet tasks,
IPDIBreakpoint breakpoint)
Called when new tasks are added to a set.
|
IPDIAddressLocation |
createAddressLocation(java.math.BigInteger address)
Create address location
|
IPDICondition |
createCondition(int ignoreCount,
java.lang.String expression,
java.lang.String[] tids)
Creates condition
|
IPDIFunctionLocation |
createFunctionLocation(java.lang.String file,
java.lang.String function)
Create function location
|
IPDILineLocation |
createLineLocation(java.lang.String file,
int line)
Creates line location
|
void |
deleteAllBreakpoints()
Deletes all breakpoint of all processes
|
void |
deleteAllBreakpoints(TaskSet tasks)
Deletes all breakpoints of specify process
|
void |
deleteBreakpoint(TaskSet tasks,
IPDIBreakpoint breakpoint)
Deletes breakpoint
|
void |
deleteSetBreakpoint(TaskSet tasks,
IPDIBreakpoint breakpoint)
Deletes a breakpoint that is different from original task
|
void |
disableBreakpoint(TaskSet tasks,
IPDIBreakpoint breakpoint)
Disable breakpoint
|
void |
enableBreakpoint(TaskSet tasks,
IPDIBreakpoint breakpoint)
Enables breakpoint
|
IPDIBreakpoint |
getBreakpoint(int id) |
IPDIAddressBreakpoint |
setAddressBreakpoint(TaskSet tasks,
int type,
IPDIAddressLocation location,
IPDICondition condition,
boolean deferred,
boolean enabled)
Sets address breakpoint
|
void |
setCondition(TaskSet tasks,
IPDIBreakpoint breakpoint,
IPDICondition newCondition)
Sets condition
|
IPDIExceptionpoint |
setExceptionpoint(TaskSet tasks,
java.lang.String clazz,
boolean stopOnThrow,
boolean stopOnCatch,
boolean enabled)
Sets exceptionpoint
|
IPDIFunctionBreakpoint |
setFunctionBreakpoint(TaskSet tasks,
int type,
IPDIFunctionLocation location,
IPDICondition condition,
boolean deferred,
boolean enabled)
Sets function breakpoint
|
IPDILineBreakpoint |
setLineBreakpoint(TaskSet tasks,
int type,
IPDILineLocation location,
IPDICondition condition,
boolean deferred,
boolean enabled)
Sets line breakpoint
|
IPDIWatchpoint |
setWatchpoint(TaskSet tasks,
int type,
int watchType,
java.lang.String expression,
IPDICondition condition,
boolean enabled)
Sets watchpoint
|
void |
updatePendingBreakpoints()
Update any pending breakpoints.
|
isAutoUpdate, setAutoUpdate, shutdown, updategetSessionvoid addSetBreakpoint(TaskSet tasks, IPDIBreakpoint breakpoint) throws PDIException
tasks - tasks that have been addedbreakpoint - breakpoint to updatePDIException - on failureIPDIAddressLocation createAddressLocation(java.math.BigInteger address)
address - IPDICondition createCondition(int ignoreCount, java.lang.String expression, java.lang.String[] tids)
ignoreCount - expression - tids - IPDIFunctionLocation createFunctionLocation(java.lang.String file, java.lang.String function)
file - function - IPDILineLocation createLineLocation(java.lang.String file, int line)
file - line - void deleteAllBreakpoints()
throws PDIException
PDIException - on failurevoid deleteAllBreakpoints(TaskSet tasks) throws PDIException
tasks - target processPDIException - on failurevoid deleteBreakpoint(TaskSet tasks, IPDIBreakpoint breakpoint) throws PDIException
tasks - breakpoint - PDIException - on failurevoid deleteSetBreakpoint(TaskSet tasks, IPDIBreakpoint breakpoint) throws PDIException
tasks - latest tasksbreakpoint - breakpoint to be deletedPDIException - on failurevoid disableBreakpoint(TaskSet tasks, IPDIBreakpoint breakpoint) throws PDIException
tasks - breakpoint - PDIExceptionvoid enableBreakpoint(TaskSet tasks, IPDIBreakpoint breakpoint) throws PDIException
tasks - breakpoint - PDIExceptionIPDIBreakpoint getBreakpoint(int id)
id - IPDIAddressBreakpoint setAddressBreakpoint(TaskSet tasks, int type, IPDIAddressLocation location, IPDICondition condition, boolean deferred, boolean enabled) throws PDIException
tasks - type - location - condition - deferred - enabled - PDIExceptionvoid setCondition(TaskSet tasks, IPDIBreakpoint breakpoint, IPDICondition newCondition) throws PDIException
tasks - breakpoint - newCondition - PDIExceptionIPDIExceptionpoint setExceptionpoint(TaskSet tasks, java.lang.String clazz, boolean stopOnThrow, boolean stopOnCatch, boolean enabled) throws PDIException
tasks - clazz - stopOnThrow - stopOnCatch - enabled - PDIExceptionIPDIFunctionBreakpoint setFunctionBreakpoint(TaskSet tasks, int type, IPDIFunctionLocation location, IPDICondition condition, boolean deferred, boolean enabled) throws PDIException
tasks - type - location - condition - deferred - enabled - PDIExceptionIPDILineBreakpoint setLineBreakpoint(TaskSet tasks, int type, IPDILineLocation location, IPDICondition condition, boolean deferred, boolean enabled) throws PDIException
tasks - type - location - condition - deferred - enabled - PDIExceptionIPDIWatchpoint setWatchpoint(TaskSet tasks, int type, int watchType, java.lang.String expression, IPDICondition condition, boolean enabled) throws PDIException
tasks - type - watchType - expression - condition - enabled - PDIExceptionvoid updatePendingBreakpoints()
throws PDIException
PDIExceptionCopyright (c) 2011 IBM Corporation and others. All Rights Reserved.