|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.rice.cs.drjava.model.debug.DebugTest.DebugTestListener
Listens to events from the debugger to ensure that they happen at the correct times.
Field Summary | |
protected int |
breakpointReachedCount
|
protected int |
breakpointRemovedCount
|
protected int |
breakpointSetCount
|
protected int |
currThreadDiedCount
|
protected int |
currThreadResumedCount
|
protected int |
currThreadSuspendedCount
|
protected int |
debuggerShutdownCount
|
protected int |
debuggerStartedCount
|
protected int |
stepRequestedCount
|
protected int |
threadLocationUpdatedCount
|
Constructor Summary | |
(package private) |
DebugTest.DebugTestListener()
|
Method Summary | |
void |
assertBreakpointReachedCount(int i)
|
void |
assertBreakpointRemovedCount(int i)
|
void |
assertBreakpointSetCount(int i)
|
void |
assertCurrThreadDiedCount(int i)
|
void |
assertCurrThreadResumedCount(int i)
|
void |
assertCurrThreadSuspendedCount(int i)
|
void |
assertDebuggerShutdownCount(int i)
|
void |
assertDebuggerStartedCount(int i)
|
void |
assertStepRequestedCount(int i)
|
void |
assertThreadLocationUpdatedCount(int i)
|
void |
breakpointReached(Breakpoint bp)
Called when a breakpoint is reached during execution. |
void |
breakpointRemoved(Breakpoint bp)
Called when a breakpoint is removed from a document. |
void |
breakpointSet(Breakpoint bp)
Called when a breakpoint is set in a document. |
void |
currThreadDied()
Called when the current thread dies |
void |
currThreadResumed()
Called when the current thread is resumed |
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 |
stepRequested()
Called when a step is requested on the current thread. |
void |
threadLocationUpdated(OpenDefinitionsDocument doc,
int lineNumber)
Called when the given line is reached by the current thread in the debugger, to request that the line be displayed. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected int debuggerStartedCount
protected int debuggerShutdownCount
protected int threadLocationUpdatedCount
protected int breakpointSetCount
protected int breakpointReachedCount
protected int breakpointRemovedCount
protected int stepRequestedCount
protected int currThreadSuspendedCount
protected int currThreadResumedCount
protected int currThreadDiedCount
Constructor Detail |
DebugTest.DebugTestListener()
Method Detail |
public void assertDebuggerStartedCount(int i)
public void assertDebuggerShutdownCount(int i)
public void assertThreadLocationUpdatedCount(int i)
public void assertBreakpointSetCount(int i)
public void assertBreakpointReachedCount(int i)
public void assertBreakpointRemovedCount(int i)
public void assertStepRequestedCount(int i)
public void assertCurrThreadSuspendedCount(int i)
public void assertCurrThreadResumedCount(int i)
public void assertCurrThreadDiedCount(int i)
public void debuggerStarted()
DebugListener
debuggerStarted
in interface DebugListener
public void debuggerShutdown()
DebugListener
debuggerShutdown
in interface DebugListener
public void threadLocationUpdated(OpenDefinitionsDocument doc, int lineNumber)
DebugListener
threadLocationUpdated
in interface DebugListener
edu.rice.cs.drjava.model.debug.DebugListener
doc
- Document to displaylineNumber
- Line to display or highlightpublic void breakpointSet(Breakpoint bp)
DebugListener
breakpointSet
in interface DebugListener
edu.rice.cs.drjava.model.debug.DebugListener
bp
- the breakpointpublic void breakpointReached(Breakpoint bp)
DebugListener
breakpointReached
in interface DebugListener
edu.rice.cs.drjava.model.debug.DebugListener
bp
- the breakpointpublic void breakpointRemoved(Breakpoint bp)
DebugListener
breakpointRemoved
in interface DebugListener
edu.rice.cs.drjava.model.debug.DebugListener
bp
- the breakpointpublic void stepRequested()
DebugListener
stepRequested
in interface DebugListener
public void currThreadSuspended()
DebugListener
currThreadSuspended
in interface DebugListener
public void currThreadResumed()
DebugListener
currThreadResumed
in interface DebugListener
public void currThreadDied()
DebugListener
currThreadDied
in interface DebugListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |