DefaultDebugControlDriver Class
- public class DefaultDebugControlDriver
extends Object
implements IDebugControlDriver
The driver which determines which debugging buttons should be enabled. This implementation is
built mainly as an example, and always returns false.
-
Hierarchy
-
Object
DefaultDebugControlDriver
-
All Implemented Interfaces
-
IDebugControlDriver
public int |
-
getControlFlags(URI doc)
- returns an int that represents the control flow actions that are
available.
|
public boolean |
-
go(URI doc)
- executes a continue action.
|
public boolean |
-
stepIn(URI doc)
- executes a step in action.
|
public boolean |
-
stepOut(URI doc)
- executes a step out action.
|
public boolean |
-
stepOver(URI doc)
- executes a step over action.
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDebugControlDriver
public DefaultDebugControlDriver(int flags)
- Constructs a
DefaultDebugControlDriver that correspnds to the
diffeernt continue types. The step types are defined in IDebugControlDriver.
getControlFlags(URI) Method
public int getControlFlags(URI doc)
Description copied from IDebugControlDriver.getControlFlags(URI)
returns an int that represents the control flow actions that are
available. The int will be a bit mask created by ORing together
IDebugControlDriver.STEP_IN
IDebugControlDriver.STEP_OUT
IDebugControlDriver.STEP_OVER
IDebugControlDriver.GO
Parameters
-
doc
- the document for the most recent stack frame
Returns
- bitmask of available control flow.
go(URI) Method
public boolean go(URI doc)
Description copied from IDebugControlDriver.go(URI)
executes a continue action.
Parameters
-
doc
- the document for the most recent stack frame
Returns
- true if the DebugControlDriver exceutes the step
false if the DebugControlDriver wants to delegate the continue to the container
stepIn(URI) Method
public boolean stepIn(URI doc)
Description copied from IDebugControlDriver.stepIn(URI)
executes a step in action.
Parameters
-
doc
- the document for the most recent stack frame
Returns
- true if the DebugControlDriver exceutes the step
false if the DebugControlDriver wants to delegate the step to the container
stepOut(URI) Method
public boolean stepOut(URI doc)
Description copied from IDebugControlDriver.stepOut(URI)
executes a step out action.
Parameters
-
doc
- the document for the most recent stack frame
Returns
- true if the DebugControlDriver exceutes the step
false if the DebugControlDriver wants to delegate the step to the container
stepOver(URI) Method
public boolean stepOver(URI doc)
Description copied from IDebugControlDriver.stepOver(URI)
executes a step over action.
Parameters
-
doc
- the document for the most recent stack frame
Returns
- true if the DebugControlDriver exceutes the step
false if the DebugControlDriver wants to delegate the step to the container