RuntimeError: how to find corresponding SkriptLine?

Hello,
I tried Google but did not find a solution.

Problem is:
If a Runtime Error occures in the script, the Message looks like:
xxx in 0 at 28149 TPsInternalProcRec

Now I am looking for a way to find out the line and the procedure which raises this error.

During debugging this is no problem.

Any hints or ideas?

Greetings
Klaus

There’ currently no function that returns this info. It probably could be added in the same way debugging works (or you can run in debug mode and keep the last line info), but it’s currently not.

Thank you Carlo

Fwiw a pull request for this would be highly appreciated

I am working on it

1 Like