Runtime Exception Event
Hello,
if an error occurs during compilation you provide a good event handler in which information like error description and position are exposed.
But what if the error comes up during execution? Ok we could do:
But this doesn't give us detailed info about the error and doesn't give us the exact position of the error inside the script.
We could use the OnRunLine event handler to populate local runtime information but this is much like for a debugger application and considerably slows down execution.
Do you agree? Will a feature like this be available in the near future?
if an error occurs during compilation you provide a good event handler in which information like error description and position are exposed.
But what if the error comes up during execution? Ok we could do:
try
 FastScript1.Run;
except
 on e:Exception do Log(e.Message);
end;
But this doesn't give us detailed info about the error and doesn't give us the exact position of the error inside the script.
We could use the OnRunLine event handler to populate local runtime information but this is much like for a debugger application and considerably slows down execution.
Do you agree? Will a feature like this be available in the near future?
Comments