|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bluemarsh.jswat.breakpoint.DefaultBreakpoint | +--com.bluemarsh.jswat.breakpoint.ResolvableBreakpoint
Class ResolvableBreakpoint represents a breakpoint that requires resolution against a class in the debuggee VM. Such breakpoints include the location breakpoint, exception breakpoint, and watchpoint breakpoint.
Field Summary | |
protected com.sun.jdi.request.EventRequest |
eventRequest
Resolved event request if any, or null if not yet resolved. |
protected com.sun.jdi.request.ClassPrepareRequest |
prepareRequest
Class prepare request used to resolve the breakpoint. |
protected ReferenceTypeSpec |
referenceSpec
Specification for the class this breakpoint is meant for. |
Fields inherited from class com.bluemarsh.jswat.breakpoint.DefaultBreakpoint |
breakpointGroup, classFilters, conditionList, deleteOnExpire, expireCount, isEnabled, logCategory, monitorList, propertyList, skipCount, stoppedCount, suspendPolicy, threadFilters |
Fields inherited from interface com.bluemarsh.jswat.breakpoint.Breakpoint |
serialVersionUID |
Fields inherited from interface com.bluemarsh.jswat.event.VMEventListener |
PRIORITY_BREAKPOINT, PRIORITY_DEFAULT, PRIORITY_HIGH, PRIORITY_HIGHEST, PRIORITY_LOW, PRIORITY_LOWEST, PRIORITY_SESSION |
Method Summary | |
protected void |
deleteEventRequest()
Delete the event request. |
void |
destroy()
Tear down this breakpoint in preparation for deletion. |
com.sun.jdi.request.EventRequest |
eventRequest()
Returns the event request for this breakpoint, if the breakpoint has been resolved. |
ReferenceTypeSpec |
getReferenceTypeSpec()
Returns the reference type spec of this breakpoint. |
boolean |
isResolved()
Returns true if the breakpoint has been resolved against the intended object in the debuggee VM. |
void |
reset()
Reset the stopped count to zero and clear any other attributes such that this breakpoint can be used again. |
com.sun.jdi.request.EventRequest |
resolveAgainstEvent(com.sun.jdi.event.ClassPrepareEvent event)
Try to resolve this breakpoint against the class prepare event. |
com.sun.jdi.request.EventRequest |
resolveEagerly(com.sun.jdi.VirtualMachine vm)
Try to resolve this event request eagerly. |
protected abstract com.sun.jdi.request.EventRequest |
resolveReference(com.sun.jdi.ReferenceType refType)
Resolve against the given ReferenceType. |
void |
setEnabled(boolean enabled)
Enables or disables this breakpoint, according to the parameter. |
void |
setSuspendPolicy(int policy)
Set the suspend policy for the request. |
Methods inherited from class com.bluemarsh.jswat.breakpoint.DefaultBreakpoint |
addCondition, addMonitor, conditions, deleteOnExpire, eventOccurred, fireChange, getBreakpointGroup, getBreakpointManager, getClassFilters, getExpireCount, getProperty, getSkipCount, getSuspendPolicy, getThreadFilters, getUIAdapter, hasExpired, incrementStoppedCount, init, isEnabled, isSkipping, monitors, performStop, removeCondition, removeMonitor, setBreakpointGroup, setClassFilters, setExpireCount, setProperty, setSkipCount, setThreadFilters, shouldResume |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bluemarsh.jswat.breakpoint.Breakpoint |
toString |
Field Detail |
protected ReferenceTypeSpec referenceSpec
protected transient com.sun.jdi.request.ClassPrepareRequest prepareRequest
protected transient com.sun.jdi.request.EventRequest eventRequest
Method Detail |
protected void deleteEventRequest()
public void destroy()
destroy
in class DefaultBreakpoint
public com.sun.jdi.request.EventRequest eventRequest()
eventRequest
in class DefaultBreakpoint
isResolved()
public ReferenceTypeSpec getReferenceTypeSpec()
public boolean isResolved()
isResolved
in class DefaultBreakpoint
public void reset()
reset
in class DefaultBreakpoint
public com.sun.jdi.request.EventRequest resolveAgainstEvent(com.sun.jdi.event.ClassPrepareEvent event) throws ResolveException
event
- class prepare eventpublic com.sun.jdi.request.EventRequest resolveEagerly(com.sun.jdi.VirtualMachine vm) throws ResolveException
vm
- VirtualMachineprotected abstract com.sun.jdi.request.EventRequest resolveReference(com.sun.jdi.ReferenceType refType) throws ResolveException
refType
- ReferenceType against which to resolve.public void setEnabled(boolean enabled)
setEnabled
in class DefaultBreakpoint
enabled
- true if breakpoint should be enabled, false
if breakpoint should be disabled.DefaultBreakpoint.isEnabled
public void setSuspendPolicy(int policy)
com.sun.jdi.request.EventRequest
constants
for suspending threads.setSuspendPolicy
in class DefaultBreakpoint
policy
- one of the EventRequest suspend constants.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |