| |
![]() |
procedure AddCodeFromRepository; |
![]() |
procedure AddCodeToRepository(CodeAlias: string; CodeGroup: string; Language: TPaxLanguage; var ResAlias: TPaxDebuggerCodeAlias); |
![]() |
function AddGroupToRepository(NewGroupName: string; var OUTGroup: TStringList): boolean; |
![]() |
function AddModule(ModuleName: string; Language: TPaxLanguage; GroupName: string; var ResModule: TPaxDebuggerModule): boolean; |
![]() |
function AddModulesGroup(const GroupName: string): boolean; |
![]() |
function AddWatch(WatchExpression: string): boolean; |
![]() |
function ChangeModuleGroup(const Module: TPaxDebuggerModule; const NewGroupName: string): boolean; |
![]() |
procedure ChooseDebuggerLayouts; |
![]() |
procedure ClearRepository; |
![]() |
procedure CloseAllModuleTabs; |
![]() |
procedure CloseProject; |
![]() |
procedure Compile; |
![]() |
procedure CopyToClipboard; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
procedure CutToClipboard; |
![]() |
destructor Destroy; override; |
![]() |
function Evaluate(const Expression: string; var Res: variant): boolean; |
![]() |
procedure Execute; |
![]() |
procedure ExecuteProcedureAsync(ProcedureName: string; const Params: array of variant); |
![]() |
procedure ExecuteSyncFunction(FunctionName: string; const Params: array of variant; var FuncRes: variant); |
![]() |
function GetModuleByName(ModuleName: string): TPaxDebuggerModule; |
![]() |
procedure HideModuleTab(const PaxModule: TPaxDebuggerModule); |
![]() |
procedure ImposeProjectLoaded; |
![]() |
procedure ImposeRepositoryLoaded; |
![]() |
function LoadCompiledFromFile(const FileName: string): boolean; |
![]() |
function MethodExists(const MethodName: string): boolean; |
![]() |
procedure MoveDownModuleItem(const Module: TPaxDebuggerModule); |
![]() |
procedure MoveModuleFirstItem(const Module: TPaxDebuggerModule); |
![]() |
procedure MoveModuleLastItem(const Module: TPaxDebuggerModule); |
![]() |
procedure MoveUpModuleItem(const Module: TPaxDebuggerModule); |
![]() |
procedure NewProject(const ProjectName: string; IsOnFile: boolean); overload; |
![]() |
procedure NewProject(IsOnFile: boolean); overload; |
![]() |
procedure OpenProject; overload; |
![]() |
procedure OpenProject(const FileName: string); overload; |
![]() |
procedure OpenRepositoryEditor; |
![]() |
procedure PasteFromClipboard; |
![]() |
procedure Redo; |
![]() |
procedure RefreshSymbolsViews; overload; |
![]() |
procedure RegisterConstant(const Name: string; Value: variant; Owner: integer = -1); |
![]() |
procedure RegisterField(const ObjectName: string; ObjectType: string; FieldName, FieldType: string; Address: pointer); |
![]() |
procedure RegisterObject(const Name: string; Instance: TObject; Owner: integer = -1); |
![]() |
procedure RegisterVariable(const Name, TypeName: string; Address: pointer; Owner: integer = -1); |
![]() |
procedure RemoveCodeFromRepository(CodeAlias, CodeGroup: string); |
![]() |
procedure RemoveGroupFromRepository(GroupName: string); |
![]() |
function RemoveModule(ModuleName: string): boolean; |
![]() |
function RemoveModulesGroup(const GroupName: string): boolean; |
![]() |
function RenameModulesGroup(CurrentName: string=''; NewName: string=''): boolean; |
![]() |
procedure Replace; |
![]() |
procedure ResetDebugger; |
![]() |
procedure RunToCursor; |
![]() |
function SaveCompiledToFile(const FileName: string; ForceOverwrite: boolean = TRUE): boolean; |
![]() |
procedure SaveProject; |
![]() |
procedure SaveProjectAs(SuggestedFileName: string = ''); |
![]() |
procedure Search; |
![]() |
procedure SearchAgain; |
![]() |
procedure SearchInProject; |
![]() |
procedure SelectAll; |
![]() |
function ShowModuleTab(const PaxModule: TPaxDebuggerModule): TTabSheet; |
![]() |
procedure StepOver; |
![]() |
procedure ToggleBreakpoint(const Module: TPaxDebuggerModule; LineNumber: integer = -1); |
![]() |
procedure TraceInto; |
![]() |
procedure Undo; |
![]() |
procedure AddCodeFromRepository; |
Opens the repository form. From there you can add code to the edited module.
![]() |
procedure AddCodeToRepository(CodeAlias: string; CodeGroup: string; Language: TPaxLanguage; var ResAlias: TPaxDebuggerCodeAlias); |
Adds code into repository. If the specified group does not exist, a new one is automatically created. ResAlias is the created alias. If nil the alias cannot be created.
![]() |
function AddGroupToRepository(NewGroupName: string; var OUTGroup: TStringList): boolean; |
Adds a new group to repository. The return value is true if the group has been created new, it's false if the group already exists.
![]() |
function AddModule(ModuleName: string; Language: TPaxLanguage; GroupName: string; var ResModule: TPaxDebuggerModule): boolean; |
Adds a module to the current project. If Language is nil the default language will be used. ResModule is the module created. If nil it means that creation wan not possible. The return value is true if the module has been created new, it's false if the module already exists.
![]() |
function AddModulesGroup(const GroupName: string): boolean; |
Adds a new modules group. The return value is true if the group has been created new, it's false if the group already exists.
![]() |
function AddWatch(WatchExpression: string): boolean; |
Adds a watch expression to watches list. The return value is true if the expression has been created new, it's false if the expression already exists.
![]() |
function ChangeModuleGroup(const Module: TPaxDebuggerModule; const NewGroupName: string): boolean; |
Changes the containing group of a module. The return value is true if change has been possible and was done, else it's false.
![]() |
procedure ChooseDebuggerLayouts; |
Opens the settings form.
![]() |
procedure ClearRepository; |
Clears (empty) the entire code repository.
![]() |
procedure CloseAllModuleTabs; |
Closes all open module tabs in the editor IDE section.
![]() |
procedure CloseProject; |
Closes the current project. If the project need to be saved a confirm dialog will be shown.
![]() |
procedure Compile; |
Compiles the current project.
![]() |
procedure CopyToClipboard; |
Copy selected text into the clipboard.
![]() |
constructor Create(AOwner: TComponent); override; |
Component constructor.
![]() |
procedure CutToClipboard; |
Cut selected text into the clipboard. It works only if the current selected text belongs to a non readonly module.
![]() |
destructor Destroy; override; |
Component destructor.
![]() |
function Evaluate(const Expression: string; var Res: variant): boolean; |
Evaluates a script expression. Res is the value obtained from evaluation.
![]() |
procedure Execute; |
Runs the paused script procedure (or function).
![]() |
procedure ExecuteProcedureAsync(ProcedureName: string; const Params: array of variant); |
Executes a script function asynchronously in a separed thread. After this method call, the caller returns immediately. This method is a sort of batch-call, when a return value is not needed.
![]() |
procedure ExecuteSyncFunction(FunctionName: string; const Params: array of variant; var FuncRes: variant); |
Executes a script procedure (or function). If the engine was running another procedure this method raises an OnError event.
![]() |
function GetModuleByName(ModuleName: string): TPaxDebuggerModule; |
Gets a module given its name. Return value is false if a module with the specified name does not exist.
![]() |
procedure HideModuleTab(const PaxModule: TPaxDebuggerModule); |
Hides the editor tab of a module.
![]() |
procedure ImposeProjectLoaded; |
NB: Use this method with db-based project only! Take a look at the embed tutorial. This method signs the whole project as not changed. After thi call, any changes (modules code, groups renamed and so on) will be tracked.
![]() |
procedure ImposeRepositoryLoaded; |
This function has the same role of ImposeProjectLoaded, but it works on repository. NB: Use this method with db-based project only!
![]() |
function LoadCompiledFromFile(const FileName: string): boolean; |
This function load a compiled project (in binary format) from an external file. If the file has been loaded without errors, this function returns a TRUE value. Else a FALSE value is returned.
![]() |
function MethodExists(const MethodName: string): boolean; |
Returns true if a procedure (or function) with the specified name exists.
![]() |
procedure MoveDownModuleItem(const Module: TPaxDebuggerModule); |
Moves one step down the module item in the project tree view representation.
![]() |
procedure MoveModuleFirstItem(const Module: TPaxDebuggerModule); |
Moves at first position the module item in the project tree view representation.
![]() |
procedure MoveModuleLastItem(const Module: TPaxDebuggerModule); |
Moves at last position the module item in the project tree view representation.
![]() |
procedure MoveUpModuleItem(const Module: TPaxDebuggerModule); |
Moves one step up the module item in the project tree view representation.
![]() |
procedure NewProject(const ProjectName: string; IsOnFile: boolean); overload; |
Use this method to create a new project.
![]() |
procedure NewProject(IsOnFile: boolean); overload; |
Use this method to create a new project. In this case a dilog will be opened to ask the user for a project name.
![]() |
procedure OpenProject; overload; |
Closes the current project and load a new one from file. File name will be choosen with a dialog form.
![]() |
procedure OpenProject(const FileName: string); overload; |
Closes the current project and loads a new one from file.
![]() |
procedure OpenRepositoryEditor; |
Opens the repository editor fom.
![]() |
procedure PasteFromClipboard; |
It pastes the clipboard content into the code editor. It works only if the editor contains a non readonly module.
![]() |
procedure Redo; |
Performs a 're do' operation in the code editor. The final effect is the same that click on Edit --> Redo menu item.
![]() |
procedure RefreshSymbolsViews; overload; |
Refreshes the symbols list views.
![]() |
procedure RegisterConstant(const Name: string; Value: variant; Owner: integer = -1); |
Adds a host-defined constant to script, it's the same method present in PaxScripter. Take a look at the relative documentation.
![]() |
procedure RegisterField(const ObjectName: string; ObjectType: string; FieldName, FieldType: string; Address: pointer); |
Allows to assign address of field of a script-defined structure, it's the same method present in PaxScripter. Take a look at the relative documentation.
![]() |
procedure RegisterObject(const Name: string; Instance: TObject; Owner: integer = -1); |
Adds a host-defined object to script, it's the same method present in PaxScripter. Take a look at the relative documentation.
![]() |
procedure RegisterVariable(const Name, TypeName: string; Address: pointer; Owner: integer = -1); |
Adds a host-defined variable to script, it's the same method present in PaxScripter. Take a look at the relative documentation.
![]() |
procedure RemoveCodeFromRepository(CodeAlias, CodeGroup: string); |
Removes a codealias from repository.
![]() |
procedure RemoveGroupFromRepository(GroupName: string); |
Removes an entire group of codealias from repository.
![]() |
function RemoveModule(ModuleName: string): boolean; |
Removes a module from the current project.
![]() |
function RemoveModulesGroup(const GroupName: string): boolean; |
Removes an entire modules group from current project. If the group contains one or more modules, it cannot be removed. A True return value means that the group has been successfully removed.
![]() |
function RenameModulesGroup(CurrentName: string=''; NewName: string=''): boolean; |
Renames a modules group. A return value of true means that group has been successfully renamed.
![]() |
procedure Replace; |
Opens the search&replace form.
![]() |
procedure ResetDebugger; |
Resets debugger and stop current execution.
![]() |
procedure RunToCursor; |
Runs the current paused script procedure (or function) until cursor has been reached.
![]() |
function SaveCompiledToFile(const FileName: string; ForceOverwrite: boolean = TRUE): boolean; |
This function save to current compiled project to an external file. The ForceOverwrite parameter can be used to force the writing in the case of an already present file with the same FileName specified. If the file is saved without errors, a TRUE value is returned. In case of errors, a FALSE value is returned.
![]() |
procedure SaveProject; |
Saves the current project.
![]() |
procedure SaveProjectAs(SuggestedFileName: string = ''); |
Saves the current project with a different filename. NB: if the project was on database, after this method call it becomes on file.
![]() |
procedure Search; |
Opens the search form.
![]() |
procedure SearchAgain; |
It searches again the expression typed in the search form.
![]() |
procedure SearchInProject; |
Not yet implemented.
![]() |
procedure SelectAll; |
Performs the selection of all text currently present in the code editor. The final effect is the same that click on Edit --> SelectAll menu item.
![]() |
function ShowModuleTab(const PaxModule: TPaxDebuggerModule): TTabSheet; |
Makes a module tab visible. It has the same result as PaxModule.Visible := True.
![]() |
procedure StepOver; |
It steps over the next line in the current paused script procedure (or function).
![]() |
procedure ToggleBreakpoint(const Module: TPaxDebuggerModule; LineNumber: integer = -1); |
Toggles a breakpoint in the specified module at the specified line number. If linenumber is less than zero the current caret line is used.
![]() |
procedure TraceInto; |
Traces into the next line in the current paused script procedure (or function).
![]() |
procedure Undo; |
Performs an 'un do' operation in the code editor. The final effect is the same that click on Edit --> Undo menu item.