|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPDISession
Represents a debug session
| Field Summary | |
|---|---|
static int |
CONNECTED
|
static int |
CONNECTING
|
static int |
DISCONNECTED
|
static int |
EXITED
|
static int |
EXITING
|
static int |
STARTED
|
| Method Summary | |
|---|---|
void |
connectToDebugger(org.eclipse.core.runtime.IProgressMonitor monitor,
java.lang.String app,
java.lang.String path,
java.lang.String dir,
java.lang.String[] args)
Connect to the debugger |
void |
exit()
Causes this session to exit |
IPDITarget |
findTarget(TaskSet task)
Returns debug target on given task id or null if target is not registered |
IPDIBreakpointManager |
getBreakpointManager()
Returns the breakpoint manager for this session |
IPDIDebugger |
getDebugger()
Returns a debugger for this session |
IPDIEventFactory |
getEventFactory()
Get the factory to create events for this session |
IPDIEventManager |
getEventManager()
Returns the event manager for this session |
IPDIEventRequestManager |
getEventRequestManager()
Returns the event request manager for this session |
IPDIExpressionManager |
getExpressionManager()
Returns the expression manager for this session |
java.lang.String |
getJobID()
Returns job id associated with this session |
IPDIMemoryManager |
getMemoryManager()
Returns the memory manager for this session |
IPDIModelFactory |
getModelFactory()
Get the factory to create model elements for this session |
IPDIRegisterManager |
getRegisterManager()
Returns the register manager for this session |
IPDIRequestFactory |
getRequestFactory()
Returns request factory |
IPDISignalManager |
getSignalManager()
Returns the signal manager for this session |
IPDISourceManager |
getSourceManager()
Get the source manager |
int |
getStatus()
Returns current status of this session |
IPDITargetManager |
getTargetManager()
Returns the target manager for this session |
IPDITaskManager |
getTaskManager()
Returns the task manager for this session |
TaskSet |
getTasks()
Returns all tasks of this session |
IPDIThreadManager |
getThreadManager()
Returns the thread manager for this session |
long |
getTimeout()
Get the debugger timeout |
int |
getTotalTasks()
Returns total tasks in this session |
IPDIVariableManager |
getVariableManager()
Returns the variable manager for this session |
boolean |
isSuspended(TaskSet tasks)
Returns whether this target/thread is currently suspended. |
boolean |
isTerminated(TaskSet tasks)
Returns whether this target/thread is currently terminated. |
void |
processRunningEvent(TaskSet tasks)
Process the running event for the given tasks |
void |
processSupsendedEvent(TaskSet tasks,
int thread_id,
java.lang.String[] vars)
Process the suspended event for the given tasks |
void |
queueRunnable(java.lang.Runnable runnable)
|
void |
setRequestTimeout(long timeout)
Sets a timeout for request |
void |
setStatus(int status)
Set status for session |
void |
shutdown(boolean force)
Shutdown this session |
void |
validateStepReturn(TaskSet tasks)
Checks whether request tasks can do step return |
| Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISessionObject |
|---|
getSession |
| Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDIExecuteManagement |
|---|
restart, resume, resume, resume, start, stepInto, stepIntoInstruction, stepOver, stepOverInstruction, stepReturn, stepReturn, stepUntil, suspend, terminate |
| Field Detail |
|---|
static final int DISCONNECTED
static final int CONNECTING
static final int CONNECTED
static final int STARTED
static final int EXITING
static final int EXITED
| Method Detail |
|---|
void processRunningEvent(TaskSet tasks)
tasks - IPDISourceManager getSourceManager()
void processSupsendedEvent(TaskSet tasks,
int thread_id,
java.lang.String[] vars)
tasks - thread_id - vars -
void connectToDebugger(org.eclipse.core.runtime.IProgressMonitor monitor,
java.lang.String app,
java.lang.String path,
java.lang.String dir,
java.lang.String[] args)
throws PDIException
monitor - app - path - dir - args -
PDIException - on failure
void exit()
throws PDIException
PDIException - on failure
IPDITarget findTarget(TaskSet task)
throws PDIException
tid - task id
PDIException - on failureIPDIBreakpointManager getBreakpointManager()
IPDIDebugger getDebugger()
IPDIEventFactory getEventFactory()
IPDIEventManager getEventManager()
IPDIEventRequestManager getEventRequestManager()
IPDIExpressionManager getExpressionManager()
java.lang.String getJobID()
IPDIMemoryManager getMemoryManager()
IPDIModelFactory getModelFactory()
IPDIRegisterManager getRegisterManager()
IPDIRequestFactory getRequestFactory()
IPDISignalManager getSignalManager()
int getStatus()
IPDITargetManager getTargetManager()
IPDITaskManager getTaskManager()
TaskSet getTasks()
getTasks in interface IPDISetIPDIThreadManager getThreadManager()
long getTimeout()
int getTotalTasks()
IPDIVariableManager getVariableManager()
boolean isSuspended(TaskSet tasks)
tasks - target process
boolean isTerminated(TaskSet tasks)
tasks - target process
void queueRunnable(java.lang.Runnable runnable)
runnable - void setRequestTimeout(long timeout)
void setStatus(int status)
status - status of current sessionvoid shutdown(boolean force)
force - whether force to terminate debugger
void validateStepReturn(TaskSet tasks)
throws PDIException
tasks -
PDIException
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||