public class ThreadStateManager extends java.lang.Object implements IEventManager, IDisconnectListener
IEventManager.StackBehavior| Constructor and Description |
|---|
ThreadStateManager(java.util.logging.Logger logger)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
disconnected()
called when the debugger is disconnected
|
IProgramThread |
enter(IStackFrame frame, IEventManager.StackBehavior behavior)
Called when a component is called and a new frame is declared.
|
void |
exit(IProgramThread ithread, IStackFrame frame)
Called when the component call is ending.
|
IProgramThread |
fork(IProgramThread ithread, IStackFrame frame)
called to fork a thread
|
void |
init(RequestManager requestManager, TraceManager traceManager, IALSBAffinityHandler affinityHandler)
initializes
|
java.util.logging.Logger |
logger() |
void |
resume(ProgramThread thread)
Resumes the given thread.
|
void |
step(IProgramThread ithread, IStackFrame frame)
indicate a new step position
|
void |
stepped(IProgramThread ithread, IStackFrame frame)
indicates the thread is exiting the position (this call is not required but encouraged)
|
void |
stepped(IProgramThread ithread, IStackFrame frame, IException exception)
indicates the thread is exiting the position (this call is not required but encouraged) as a result of a failure.
|
boolean |
threadExist(IProgramThread ithread)
returns whether the program thread for the given handle exists.
|
java.util.Map<ProgramThreadKey,ProgramThread> |
threads()
returns the map of threads
|
public ThreadStateManager(java.util.logging.Logger logger)
public void init(RequestManager requestManager, TraceManager traceManager, IALSBAffinityHandler affinityHandler)
public void disconnected()
disconnected in interface IDisconnectListenerpublic boolean threadExist(IProgramThread ithread)
threadExist in interface IEventManagerpublic IProgramThread enter(IStackFrame frame, IEventManager.StackBehavior behavior)
enter in interface IEventManagerpublic IProgramThread fork(IProgramThread ithread, IStackFrame frame)
fork in interface IEventManagerpublic void step(IProgramThread ithread, IStackFrame frame)
step in interface IEventManagerpublic void stepped(IProgramThread ithread, IStackFrame frame)
stepped in interface IEventManagerpublic void stepped(IProgramThread ithread, IStackFrame frame, IException exception)
enter(com.bea.alsb.debug.server.IStackFrame, com.bea.alsb.debug.server.IEventManager.StackBehavior) or .stepped in interface IEventManagerpublic void exit(IProgramThread ithread, IStackFrame frame)
exit in interface IEventManagerpublic void resume(ProgramThread thread)
public java.util.Map<ProgramThreadKey,ProgramThread> threads()
public java.util.logging.Logger logger()