|
||||||||||
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.DebugAction
Keeps track of information about any request to the debugger, such as Breakpoints.
Field Summary | |
protected int |
_countFilter
|
protected boolean |
_enabled
|
protected int |
_lineNumber
|
protected DebugManager |
_manager
|
protected gj.util.Vector |
_requests
Vector of EventRequests. |
protected int |
_suspendPolicy
|
static int |
ANY_LINE
|
Constructor Summary | |
DebugAction(DebugManager 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(com.sun.jdi.request.EventRequest request)
Prepares this EventRequest with the current stored values. |
protected void |
_prepareRequests(gj.util.Vector 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 |
gj.util.Vector |
getRequests()
Returns the EventRequest corresponding to this DebugAction, if it has been created, null otherwise. |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final int ANY_LINE
protected DebugManager _manager
protected gj.util.Vector _requests
protected int _suspendPolicy
protected boolean _enabled
protected int _countFilter
protected int _lineNumber
Constructor Detail |
public DebugAction(DebugManager manager) throws DebugException, IllegalStateException
manager
- DebugManager in chargedoc
- Document this action corresponds toMethod Detail |
public gj.util.Vector getRequests()
public int getLineNumber()
public boolean createRequests() throws DebugException
protected void _initializeRequests() throws DebugException
protected void _createRequests() throws DebugException
rt
- ReferenceType used to try to create the requestDebugException
- if the request could not be created.protected void _prepareRequests(gj.util.Vector requests)
requests
- the EventRequests to prepareprotected void _prepareRequest(com.sun.jdi.request.EventRequest request)
request
- the EventRequest to prepare
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |