edu.rice.cs.drjava.model.debug
Class Breakpoint
java.lang.Object
|
+--edu.rice.cs.drjava.model.debug.DebugAction
|
+--edu.rice.cs.drjava.model.debug.DocumentDebugAction
|
+--edu.rice.cs.drjava.model.debug.Breakpoint
- public class Breakpoint
- extends DocumentDebugAction
The breakpoint object which has references to its OpenDefinitionsDocument and its
BreakpointRequest
Method Summary |
protected void |
_createRequests(gj.util.Vector refTypes)
Creates appropriate EventRequests from the EventRequestManager and
stores them in the _requests field. |
protected void |
_prepareRequest(com.sun.jdi.request.EventRequest x0)
Prepares this EventRequest with the current stored values. |
int |
getEndOffset()
Accessor for the offset of this breakpoint's end position |
int |
getStartOffset()
Accessor for the offset of this breakpoint's start position |
String |
toString()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
_startPos
private Position _startPos
_endPos
private Position _endPos
Breakpoint
public Breakpoint(OpenDefinitionsDocument doc,
int offset,
int lineNumber,
DebugManager manager)
throws DebugException
- Throws:
DebugException
- if the document does not have a file
_createRequests
protected void _createRequests(gj.util.Vector refTypes)
throws DebugException
- Creates appropriate EventRequests from the EventRequestManager and
stores them in the _requests field.
- Overrides:
_createRequests
in class DocumentDebugAction
- Parameters:
refTypes
- All (identical) ReferenceTypes to which this action
applies. (There may be multiple if a custom class loader is in use.)- Throws:
DebugException
- if the requests could not be created.
getStartOffset
public int getStartOffset()
- Accessor for the offset of this breakpoint's start position
- Returns:
- the start offset
getEndOffset
public int getEndOffset()
- Accessor for the offset of this breakpoint's end position
- Returns:
- the end offset
toString
public String toString()
- Overrides:
toString
in class Object
_prepareRequest
protected void _prepareRequest(com.sun.jdi.request.EventRequest x0)
- Description copied from class:
DocumentDebugAction
- Prepares this EventRequest with the current stored values.
- Overrides:
_prepareRequest
in class DocumentDebugAction
- Following copied from class:
edu.rice.cs.drjava.model.debug.DocumentDebugAction
- Parameters:
request
- the EventRequest to prepare