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(BigInteger address)
Create address location
|
IPDICondition |
createCondition(int ignoreCount,
String expression,
String[] tids)
Creates condition
|
IPDIFunctionLocation |
createFunctionLocation(String file,
String function)
Create function location
|
IPDILineLocation |
createLineLocation(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,
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,
String expression,
IPDICondition condition,
boolean enabled)
Sets watchpoint
|
void |
updatePendingBreakpoints()
Update any pending breakpoints.
|
isAutoUpdate, setAutoUpdate, shutdown, update
getSession
void addSetBreakpoint(TaskSet tasks, IPDIBreakpoint breakpoint) throws PDIException
tasks
- tasks that have been addedbreakpoint
- breakpoint to updatePDIException
- on failureIPDIAddressLocation createAddressLocation(BigInteger address)
address
- IPDICondition createCondition(int ignoreCount, String expression, String[] tids)
ignoreCount
- expression
- tids
- IPDIFunctionLocation createFunctionLocation(String file, String function)
file
- function
- IPDILineLocation createLineLocation(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
- PDIException
void enableBreakpoint(TaskSet tasks, IPDIBreakpoint breakpoint) throws PDIException
tasks
- breakpoint
- PDIException
IPDIBreakpoint 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
- PDIException
void setCondition(TaskSet tasks, IPDIBreakpoint breakpoint, IPDICondition newCondition) throws PDIException
tasks
- breakpoint
- newCondition
- PDIException
IPDIExceptionpoint setExceptionpoint(TaskSet tasks, String clazz, boolean stopOnThrow, boolean stopOnCatch, boolean enabled) throws PDIException
tasks
- clazz
- stopOnThrow
- stopOnCatch
- enabled
- PDIException
IPDIFunctionBreakpoint setFunctionBreakpoint(TaskSet tasks, int type, IPDIFunctionLocation location, IPDICondition condition, boolean deferred, boolean enabled) throws PDIException
tasks
- type
- location
- condition
- deferred
- enabled
- PDIException
IPDILineBreakpoint setLineBreakpoint(TaskSet tasks, int type, IPDILineLocation location, IPDICondition condition, boolean deferred, boolean enabled) throws PDIException
tasks
- type
- location
- condition
- deferred
- enabled
- PDIException
IPDIWatchpoint setWatchpoint(TaskSet tasks, int type, int watchType, String expression, IPDICondition condition, boolean enabled) throws PDIException
tasks
- type
- watchType
- expression
- condition
- enabled
- PDIException
void updatePendingBreakpoints() throws PDIException
PDIException
Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.