|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.drjava.model.debug.jpda.DebugAction<T>
public abstract class DebugAction<T extends com.sun.jdi.request.EventRequest>
Keeps track of information about any request to the debugger, such as Breakpoints.
| Field Summary | |
|---|---|
protected int |
_countFilter
|
protected boolean |
_isEnabled
|
protected int |
_lineNumber
|
protected JPDADebugger |
_manager
|
protected Vector<T> |
_requests
Vector of EventRequests. |
protected int |
_suspendPolicy
|
static int |
ANY_LINE
|
| Constructor Summary | |
|---|---|
DebugAction(JPDADebugger manager)
Creates a new DebugAction. |
|
| Method Summary | |
|---|---|
protected void |
_createRequests()
Creates an appropriate EventRequest from the EventRequestManager and stores it in the _request field. |
protected void |
_initializeRequests()
This should always be called from the constructor of the subclass. |
protected void |
_prepareRequest(T request)
Prepares this EventRequest with the current stored values. |
protected void |
_prepareRequests(Vector<T> requests)
Prepares all relevant EventRequests with the current stored values. |
boolean |
createRequests()
Creates an EventRequest corresponding to this DebugAction, using the given ReferenceType. |
int |
getLineNumber()
Returns the line number this DebugAction occurs on |
Vector<T> |
getRequests()
Returns the EventRequest corresponding to this DebugAction, if it has been created, null otherwise. |
boolean |
isEnabled()
|
void |
setEnabled(boolean isEnabled)
Enable/disable the breakpoint. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ANY_LINE
protected final JPDADebugger _manager
protected final Vector<T extends com.sun.jdi.request.EventRequest> _requests
protected volatile int _suspendPolicy
protected volatile boolean _isEnabled
protected volatile int _countFilter
protected volatile int _lineNumber
| Constructor Detail |
|---|
public DebugAction(JPDADebugger manager)
manager - JPDADebugger in charge| Method Detail |
|---|
public Vector<T> getRequests()
public int getLineNumber()
public boolean createRequests()
throws DebugException
DebugException
protected void _initializeRequests()
throws DebugException
DebugException
protected void _createRequests()
throws DebugException
DebugException - if the request could not be created.protected void _prepareRequests(Vector<T> requests)
requests - the EventRequests to prepareprotected void _prepareRequest(T request)
request - the EventRequest to preparepublic boolean isEnabled()
public void setEnabled(boolean isEnabled)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||