|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DebugListener
Any class which wants to listen to events fired by the Debugger should implement this interface and use Debugger's addDebugListener() method.
| Method Summary | |
|---|---|
void |
breakpointReached(Breakpoint bp)
Called when a breakpoint is reached during execution. |
void |
currThreadDied()
Called when the current thread dies. |
void |
currThreadResumed()
Called when the current thread is resumed. |
void |
currThreadSet(DebugThreadData thread)
Called when the current (selected) thread is set in the debugger. |
void |
currThreadSuspended()
Called when the current thread is suspended. |
void |
debuggerShutdown()
Called when debugger mode has been disabled. |
void |
debuggerStarted()
Called when debugger mode has been enabled. |
void |
nonCurrThreadDied()
Called when any thread other than the current thread dies. |
void |
stepRequested()
Called when a step is requested on the current thread. |
void |
threadLocationUpdated(OpenDefinitionsDocument doc,
int lineNumber,
boolean shouldHighlight)
Called when the given line is reached by the current thread in the debugger, to request that the line be displayed. |
void |
threadStarted()
Called when a thread starts. |
void |
watchRemoved(DebugWatchData w)
Called when a watch is removed. |
void |
watchSet(DebugWatchData w)
Called when a watch is set. |
| Methods inherited from interface edu.rice.cs.drjava.model.RegionManagerListener |
|---|
regionAdded, regionChanged, regionRemoved |
| Method Detail |
|---|
void debuggerStarted()
void debuggerShutdown()
void threadLocationUpdated(OpenDefinitionsDocument doc,
int lineNumber,
boolean shouldHighlight)
doc - Document to displaylineNumber - Line to display or highlightshouldHighlight - true iff the line should be highlighted.void breakpointReached(Breakpoint bp)
bp - the breakpointvoid watchSet(DebugWatchData w)
w - the watchvoid watchRemoved(DebugWatchData w)
w - the watchvoid stepRequested()
void currThreadSuspended()
void currThreadResumed()
void threadStarted()
void currThreadDied()
void nonCurrThreadDied()
void currThreadSet(DebugThreadData thread)
thread - the thread that was set as current
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||