# com.bea.ide.debug
IDebugInstructionPoint Interface

public interface IDebugInstructionPoint

General interface of an object that represents the instruction point.

All Known Implementing Classes
  `SourceInstructionPoint`

## Field Summary

`public static final int` | `INSTRUCTION_POINT` This value returned from getType() denotes the current instruction point the program is executing.
`public static final int` | `STACK_FRAME_POINT` This value returned from getType() denotes an instruction point that is current in one of the frames on teh stack, but is not the currently executing point.

## Method Summary

`public `IDocument`` | `getFile`() gets the file for this instruction point.
`public int` | `getLine`() gets the line number for this instruction point.
`public int` | `getType`() gets the type for this instruction point.

## Field Detail

### INSTRUCTION_POINT

    public static final int INSTRUCTION_POINT

  This value returned from getType() denotes the current instruction point the program is executing.

### STACK_FRAME_POINT

    public static final int STACK_FRAME_POINT

  This value returned from getType() denotes an instruction point that is current in one of the frames on teh stack, but is not the currently executing point.

## Method Detail

### getFile() Method

    public IDocument getFile()

gets the file for this instruction point.

#### Returns

the `IDocument``` that represents the file that contains this instruction point.

### getLine() Method

    public int getLine()

gets the line number for this instruction point.

#### Returns

the line the instruction point is on.

### getType() Method

    public int getType()

gets the type for this instruction point.

#### Returns

`IDebugInstructionPoint.INSTRUCTION_POINT``` - if this is the current execution point `IDebugInstructionPoint.STACK_FRAME_POINT``` - if this is the execution point for one of the callee stack frames.