Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Variables
Constants
Functions and Procedures
Identifiers

Class TIFPS3DebugCompExec

Unit

IFPS3CompExec

Declaration

type TIFPS3DebugCompExec = class(TIFPS3CompExec)

Description

TIFPS3DebugCompExec has all features of TIFPS3CompExec and also supports debugging

Hierarchy

TIFPS3CompExec

Methods

Overview

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure ClearBreakPoint(const Fn: string; Line: Longint);
Public procedure ClearBreakPoints;
Public function GetVarContents(const Name: string): string;
Public function HasBreakPoint(const Fn: string; Line: Longint): Boolean;
Public procedure Pause; virtual;
Public procedure Resume; virtual;
Public procedure SetBreakPoint(const Fn: string; Line: Longint);
Public procedure StepInto; virtual;
Public procedure StepOver; virtual;

Description

Public constructor Create(AOwner: TComponent); override;

 

Public destructor Destroy; override;

 

Public procedure ClearBreakPoint(const Fn: string; Line: Longint);

clear the breakpoint at line Line

Public procedure ClearBreakPoints;

Clear All Breakpoints

Public function GetVarContents(const Name: string): string;

Returns the contents of a variable, formatted for a watch window

Public function HasBreakPoint(const Fn: string; Line: Longint): Boolean;

Has a breakpoint on line(Line) ?

Public procedure Pause; virtual;

 

Public procedure Resume; virtual;

 

Public procedure SetBreakPoint(const Fn: string; Line: Longint);

Set a breakpoint at line Line

Public procedure StepInto; virtual;

 

Public procedure StepOver; virtual;

 

Properties

Overview

Public property BreakPoint[I: Longint]: TIFPSBreakPointInfo;
Public property BreakPointCount: Longint;
Published property OnBreakpoint: TIFPS3OnLineInfo;
Published property OnIdle: TNotifyEvent;
Published property OnLineInfo: TIFPS3OnLineInfo;

Description

Public property BreakPoint[I: Longint]: TIFPSBreakPointInfo;

Return breakpoint number I

Public property BreakPointCount: Longint;

Returns the number of currently set breakpoints

Published property OnBreakpoint: TIFPS3OnLineInfo;

OnBreakPoint is called when the script engine is at a breakpoint

Published property OnIdle: TNotifyEvent;

The on Idle event is called when the script engine is paused or on a breakpoint. You should call Application.ProcessMessages from here and call resume when you are done. If you don't assign a handler to this event, the script engine will not pause or breakpoint

Published property OnLineInfo: TIFPS3OnLineInfo;

OnLineInfo is called for each statement the script engine has debuginfo (row, col, pos) for