| java.lang.Object edu.rice.cs.drjava.model.debug.jpda.DebugAction
DebugAction | abstract public class DebugAction (Code) | | Keeps track of information about any request to the debugger, such as Breakpoints.
version: $Id: DebugAction.java 4255 2007-08-28 19:17:37Z mgricken $ |
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. | public boolean | createRequests() Creates an EventRequest corresponding to this DebugAction, using the given ReferenceType. | public int | getLineNumber() | public Vector<T> | getRequests() Returns the EventRequest corresponding to this DebugAction, if it has been created, null otherwise. | public boolean | isEnabled() true if breakpoint is enabled. | public void | setEnabled(boolean isEnabled) Enable/disable the breakpoint. |
ANY_LINE | final public static int ANY_LINE(Code) | | |
_countFilter | protected volatile int _countFilter(Code) | | |
_isEnabled | protected volatile boolean _isEnabled(Code) | | |
_lineNumber | protected volatile int _lineNumber(Code) | | |
_requests | final protected Vector<T> _requests(Code) | | Vector of EventRequests. There might be more than one, since there can be multiple reference types for one class.
They all share the same attributes, though, so the other fields don't need to be vectors.
|
_suspendPolicy | protected volatile int _suspendPolicy(Code) | | |
DebugAction | public DebugAction(JPDADebugger manager)(Code) | | Creates a new DebugAction. Automatically tries to create the EventRequest if a ReferenceType can be found, or
else adds this object to the PendingRequestManager. Any subclass should automatically call _initializeRequest
in its constructor.
Parameters: manager - JPDADebugger in charge |
_createRequests | protected void _createRequests() throws DebugException(Code) | | Creates an appropriate EventRequest from the EventRequestManager and stores it in the _request field.
throws: DebugException - if the request could not be created. |
_initializeRequests | protected void _initializeRequests() throws DebugException(Code) | | This should always be called from the constructor of the subclass. Tries to create all applicable EventRequests
for this DebugAction.
|
_prepareRequest | protected void _prepareRequest(T request)(Code) | | Prepares this EventRequest with the current stored values.
Parameters: request - the EventRequest to prepare |
_prepareRequests | protected void _prepareRequests(Vector<T> requests)(Code) | | Prepares all relevant EventRequests with the current stored values.
Parameters: requests - the EventRequests to prepare |
createRequests | public boolean createRequests() throws DebugException(Code) | | Creates an EventRequest corresponding to this DebugAction, using the given ReferenceType. This is called either
from the DebugAction constructor or the PendingRequestManager, depending on when the ReferenceType becomes
available. This DebugAction must be an instance of DocumentDebugAction since a ReferenceType is being used.
true if the EventRequest is successfully created |
getLineNumber | public int getLineNumber()(Code) | | Returns the line number this DebugAction occurs on
|
getRequests | public Vector<T> getRequests()(Code) | | Returns the EventRequest corresponding to this DebugAction, if it has been created, null otherwise.
|
isEnabled | public boolean isEnabled()(Code) | | true if breakpoint is enabled. |
setEnabled | public void setEnabled(boolean isEnabled)(Code) | | Enable/disable the breakpoint.
|
|
|