ScriptDebugger

Hi,

I was wondering how to debug a script (subroutine) like

function Validate(aParam: string): string;
begin
   //
end;

I set the RoutineName of the ScriptDebugger to Validate, but I can't provide a value for the parameter. Is there something similar like Scripter.ExecuteSubroutine(Name, Array of params)?

Regards,

Filip.

Hi Filip,


unfortunately there is not such feature. The workaround would be creating a routine with no parameters and then calling the routine to be debugged with the correct parameters.