Hello,
I have a problem which is in my opinion caused of a large script. The script has about 28000 lines, no errors and should work. But when I try to execute it, scripters hangs up. If I use the debugger, then my program stops at the "execute"-command, without debugger at "executesubroutine". I get no errors, it just stops at this line.
Is there a limitation for scripts?
try
FProtocol.Add('CreateJob wird ausgeführt...');
if FUseDebugger then
begin
FScriptDebug.RoutineName := 'CreateJob';
FScriptDebug.Execute; <------
end;
FScripter.ExecuteSubRoutine('CreateJob',myOriInputFile); <-----
FProtocol.Add('CreateJob beendet.');
Application.ProcessMessages;
except
on e: Exception do
begin
FErrProtocol.Add('Fehler beim Aufruf von CreateJob mit "'+myOriInputFile+'"');
FErrProtocol.Add(e.Message+#13#10+e.StackTrace);
end;
end;
Thanks in advance for your help,
Stefan.