Units
Classes, Interfaces, Objects
Types
Variables
Constants
Functions, Procedures
Identifiers

Class TIFPSDebugExec

Unit

ifps3debug

Declaration

type TIFPSDebugExec = class(TIFPSExec)

Description

The TIFPSDebugExec class is used to load and use compiler debug information

Hierarchy

TIFPSExec

Methods

Overview

Public constructor Create;
Public destructor Destroy; override;
Public procedure Clear; override;
Protected procedure ClearDebug;
Public function GetCurrentProcNo: Cardinal;
Public function GetGlobalVar(I: Cardinal): PIfVariant;
Public function GetProcParam(I: Cardinal): PIfVariant;
Public function GetProcVar(I: Cardinal): PIfVariant;
Public function LoadData(const s: string): TIFError; override;
Public procedure LoadDebugData(const Data: string);
Public procedure Pause; override;
Public procedure Run;
Protected procedure RunLine; override;
Public procedure StepInto;
Public procedure StepOver;
Public procedure Stop; override;

Description

constructor Create;

Create an instance of the debugger

destructor Destroy; override;

destroy the current instance of the debugger

procedure Clear; override;

Clear the debugdata and the current script

procedure ClearDebug;

 

function GetCurrentProcNo: Cardinal;

The current proc no

function GetGlobalVar(I: Cardinal): PIfVariant;

Get global variable no I

function GetProcParam(I: Cardinal): PIfVariant;

Get proc param no I

function GetProcVar(I: Cardinal): PIfVariant;

Get Proc variable no I

function LoadData(const s: string): TIFError; override;

See TIFPSExec.LoadData

procedure LoadDebugData(const Data: string);

Load debug data in the scriptengine

procedure Pause; override;

Pause the script

procedure Run;

Run the script

procedure RunLine; override;

 

procedure StepInto;

Step into the current line

procedure StepOver;

Step over the current line

procedure Stop; override;

Stop the script

Properties

Overview

Public CurrentProcParams: TIfStringList;
Public CurrentProcVars: TIfStringList;
Public DebugMode: TDebugMode;
Public GlobalVarNames: TIfStringList;
Public OnIdleCall: TOnIdleCall;
Public OnSourceLine: TOnSourceLine;
Public ProcNames: TIfStringList;

Description

CurrentProcParams: TIfStringList;

The paramters of the current proc (could be nil)

CurrentProcVars: TIfStringList;

The variables in the current proc (could be nil)

DebugMode: TDebugMode;

Contains the current debugmode

GlobalVarNames: TIfStringList;

Contains the names of the global variables

OnIdleCall: TOnIdleCall;

OnIdleCall is called when the script is paused

OnSourceLine: TOnSourceLine;

OnSourceLine is called after passing each source line

ProcNames: TIfStringList;

Contains the names of the procedures


Generated by rjPasDoc 0.7 on Wed 15 May 2002 19:21:35