# com.bea.ide.debug
IDebugControlDriver Interface

public interface IDebugControlDriver

this driver allows a file to decide what to do with debugging flow control commands. The start/stop/step, etc commands will look to the document containing the most recent stack frame. If the document does not support this we will use the default debugger values.

All Known Implementing Classes
  `DefaultDebugControlDriver`

## Field Summary

`public static final int` | `GO` A constant bit field representing a go
`public static final int` | `STEP_IN` A constant bit field representing a step in
`public static final int` | `STEP_OUT` A constant bit field representing a step out
`public static final int` | `STEP_OVER` A constant bit field representing a step over

## Method Summary

`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.

## Field Detail

### GO

    public static final int GO

  A constant bit field representing a go

### STEP_IN

    public static final int STEP_IN

  A constant bit field representing a step in

### STEP_OUT

    public static final int STEP_OUT

  A constant bit field representing a step out

### STEP_OVER

    public static final int STEP_OVER

  A constant bit field representing a step over

## Method Detail

### getControlFlags(URI) Method

    public int getControlFlags(URI doc)

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)

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)

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)

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)

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