|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.drjava.ui.DebugPanel.DebugPanelListener
class DebugPanel.DebugPanelListener
Listens to events from the debug manager to keep the panel updated.
| Constructor Summary | |
|---|---|
DebugPanel.DebugPanelListener()
|
|
| 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 |
regionAdded(Breakpoint r)
Called when a region is added in a document. |
void |
regionChanged(Breakpoint r)
Called when a region is changed. |
void |
regionRemoved(Breakpoint r)
Called when a region is removed from a document. |
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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
DebugPanel.DebugPanelListener()
| Method Detail |
|---|
public void currThreadSuspended()
currThreadSuspended in interface DebugListenerpublic void currThreadResumed()
currThreadResumed in interface DebugListenerpublic void threadStarted()
threadStarted in interface DebugListenerpublic void currThreadDied()
currThreadDied in interface DebugListenerpublic void nonCurrThreadDied()
nonCurrThreadDied in interface DebugListenerpublic void currThreadSet(DebugThreadData thread)
currThreadSet in interface DebugListenerthread - the thread that was set as current
public void threadLocationUpdated(OpenDefinitionsDocument doc,
int lineNumber,
boolean shouldHighlight)
DebugListener
threadLocationUpdated in interface DebugListenerdoc - Document to displaylineNumber - Line to display or highlightshouldHighlight - true iff the line should be highlighted.public void debuggerStarted()
DebugListener
debuggerStarted in interface DebugListenerpublic void debuggerShutdown()
DebugListener
debuggerShutdown in interface DebugListenerpublic void breakpointReached(Breakpoint bp)
DebugListener
breakpointReached in interface DebugListenerbp - the breakpointpublic void watchSet(DebugWatchData w)
DebugListener
watchSet in interface DebugListenerw - the watchpublic void watchRemoved(DebugWatchData w)
DebugListener
watchRemoved in interface DebugListenerw - the watchpublic void stepRequested()
DebugListener
stepRequested in interface DebugListenerpublic void regionAdded(Breakpoint r)
RegionManagerListener
regionAdded in interface RegionManagerListener<Breakpoint>r - the regionpublic void regionChanged(Breakpoint r)
RegionManagerListener
regionChanged in interface RegionManagerListener<Breakpoint>r - the regionpublic void regionRemoved(Breakpoint r)
RegionManagerListener
regionRemoved in interface RegionManagerListener<Breakpoint>r - the region
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||