|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DebugException | |
---|---|
edu.rice.cs.drjava.model.debug | Contains the code for DrJava's JPDA-based debugger. |
edu.rice.cs.drjava.model.debug.jpda |
Uses of DebugException in edu.rice.cs.drjava.model.debug |
---|
Subclasses of DebugException in edu.rice.cs.drjava.model.debug | |
---|---|
class |
LineNotExecutableException
Thrown when a breakpoint is set on a line that's not executable. |
Methods in edu.rice.cs.drjava.model.debug that throw DebugException | |
---|---|
protected void |
DebugTestCase._doSetCurrentThread(DebugThreadData t)
Sets the current debugger thread to the specified thread t. |
void |
Debugger.addWatch(String field)
Adds a watch on the given field or variable. |
Breakpoint |
Debugger.getBreakpoint(int line,
String className)
Gets the Breakpoint object at the specified line in the given class. |
ArrayList<DebugStackData> |
Debugger.getCurrentStackFrameData()
Returns a Vector of StackData for the current thread. |
ArrayList<DebugThreadData> |
Debugger.getCurrentThreadData()
Returns a Vector of ThreadData. |
ArrayList<DebugWatchData> |
Debugger.getWatches()
Returns all currently watched fields and variables. |
boolean |
Debugger.hasRunningThread()
Returns whether the thread the debugger is tracking is now running. |
boolean |
Debugger.hasSuspendedThreads()
|
boolean |
Debugger.isCurrentThreadSuspended()
Returns whether the debugger's current thread is suspended. |
void |
Debugger.removeAllWatches()
Removes all watches on existing fields and variables. |
void |
Debugger.removeBreakpoint(Breakpoint breakpoint)
Removes a breakpoint. |
void |
Debugger.removeWatch(int index)
Removes the watch at the given index. |
void |
Debugger.removeWatch(String field)
Removes any watches on the given field or variable. |
void |
Debugger.resume()
Resumes execution of the currently loaded document. |
void |
Debugger.resume(DebugThreadData data)
Resumes execution of the given thread. |
void |
Debugger.scrollToSource(DebugStackData data)
Scrolls to the source indicated by the given DebugStackData |
void |
Debugger.setBreakpoint(Breakpoint breakpoint)
Sets a breakpoint. |
void |
Debugger.setCurrentThread(DebugThreadData d)
Sets the current thread we are debugging to the thread referenced by d. |
void |
NoDebuggerAvailable.startUp()
Attaches the debugger to the Interactions JVM to prepare for debugging. |
void |
Debugger.startUp()
Attaches the debugger to the Interactions JVM to prepare for debugging. |
void |
NoDebuggerAvailable.step(Debugger.StepType type)
Steps the execution of the currently loaded document. |
void |
Debugger.step(Debugger.StepType type)
Steps the execution of the currently loaded document. |
boolean |
NoDebuggerAvailable.toggleBreakpoint(OpenDefinitionsDocument doc,
int offset,
int lineNum,
boolean isEnabled)
Toggles whether a breakpoint is set at the given line in the given document. |
boolean |
Debugger.toggleBreakpoint(OpenDefinitionsDocument doc,
int offset,
int lineNum,
boolean isEnabled)
Toggles whether a breakpoint is set at the given line in the given document. |
Uses of DebugException in edu.rice.cs.drjava.model.debug.jpda |
---|
Methods in edu.rice.cs.drjava.model.debug.jpda that throw DebugException | |
---|---|
protected void |
Step._createRequests()
Creates an appropriate EventRequest from the EventRequestManager and stores it in the _request field. |
protected void |
DebugAction._createRequests()
Creates an appropriate EventRequest from the EventRequestManager and stores it in the _request field. |
protected void |
JPDABreakpoint._createRequests(Vector<com.sun.jdi.ReferenceType> refTypes)
Creates appropriate EventRequests from the EventRequestManager and stores them in the _requests field. |
protected abstract void |
DocumentDebugAction._createRequests(Vector<com.sun.jdi.ReferenceType> refTypes)
Creates appropriate EventRequests from the EventRequestManager and stores them in the _requests field. |
protected void |
DebugAction._initializeRequests()
This should always be called from the constructor of the subclass. |
protected void |
DocumentDebugAction._initializeRequests(Vector<com.sun.jdi.ReferenceType> refTypes)
This should always be called from the constructor of the subclass. |
void |
JPDADebugger.addWatch(String field)
Adds a watch on the given field or variable. |
void |
PendingRequestManager.classPrepared(com.sun.jdi.event.ClassPrepareEvent event)
Called by the EventHandler whenever a ClassPrepareEvent occurs. |
boolean |
DebugAction.createRequests()
Creates an EventRequest corresponding to this DebugAction, using the given ReferenceType. |
boolean |
DocumentDebugAction.createRequests(Vector<com.sun.jdi.ReferenceType> refTypes)
Creates EventRequests corresponding to this DebugAction, using the given ReferenceTypes. |
ArrayList<DebugStackData> |
JPDADebugger.getCurrentStackFrameData()
Returns a Vector of DebugStackData for the current suspended thread. |
ArrayList<DebugThreadData> |
JPDADebugger.getCurrentThreadData()
Returns a list of all threads being tracked by the debugger. |
ArrayList<DebugWatchData> |
JPDADebugger.getWatches()
Returns all currently watched fields and variables. |
boolean |
JPDADebugger.hasRunningThread()
Returns whether the thread the debugger is tracking is now running. |
boolean |
JPDADebugger.hasSuspendedThreads()
Returns whether the debugger currently has any suspended threads. |
boolean |
JPDADebugger.isCurrentThreadSuspended()
Returns whether the debugger's current thread is suspended. |
void |
JPDADebugger.removeAllWatches()
Removes all watches on existing fields and variables. |
void |
JPDADebugger.removeBreakpoint(Breakpoint bp)
Removes a breakpoint. |
void |
JPDADebugger.removeWatch(int index)
Removes the watch at the given index. |
void |
JPDADebugger.removeWatch(String field)
Removes any watches on the given field or variable. |
void |
JPDADebugger.resume()
Resumes the thread currently being debugged, copying back all variables from the current debug interpreter. |
void |
JPDADebugger.resume(DebugThreadData threadData)
Resumes the given thread, copying back any variables from its associated debug interpreter. |
void |
JPDADebugger.scrollToSource(DebugStackData stackData)
Scrolls to the source location specified by the the debug stack data. |
void |
JPDADebugger.setBreakpoint(Breakpoint breakpoint)
Sets a breakpoint. |
void |
JPDADebugger.setCurrentThread(DebugThreadData threadData)
Sets the notion of current thread to the one contained in threadData. |
void |
JPDADebugger.startUp()
Attaches the debugger to the Interactions JVM to prepare for debugging. |
void |
JPDADebugger.step(Debugger.StepType type)
Steps the execution of the currently loaded document. |
boolean |
JPDADebugger.toggleBreakpoint(OpenDefinitionsDocument doc,
int offset,
int lineNum,
boolean isEnabled)
Toggles whether a breakpoint is set at the given line in the given document. |
void |
DebugTest.XXXtestStartupAndShutdown()
Tests startUp and shutdown, ensuring that all appropriate fields are initialized. |
Constructors in edu.rice.cs.drjava.model.debug.jpda that throw DebugException | |
---|---|
DocumentDebugAction(JPDADebugger manager,
OpenDefinitionsDocument doc,
int offset)
Creates a new DocumentDebugAction. |
|
JPDABreakpoint(OpenDefinitionsDocument doc,
int offset,
int lineNumber,
boolean isEnabled,
JPDADebugger manager)
|
|
Step(JPDADebugger manager,
int size,
int depth)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |