Scripter: proceed execution of script at cursor position

Hello,

when debugging a script currently I can only run the script step by step.
It would be very helpful to have the possibility to proceed the execution at a different position.
I am looking for a function like “proceed execution at current cursor position”.
In that way I would be able to omit lines or to execute a line twice.
Furthermore it should be possible to change the code during debugging.
Because it is a interpreter language this should not be a big problem, is it?

Regards,
Michael

Isn't it what breakpoints are for? Otherwise I didn't get exactly what you mean.

No, that's not trivial at all, unfortunately.

Hi,

I think we might be talking about different things.
I’m not referring to setting breakpoints. What I’m looking for is a feature similar to “Set Next Statement” in other debuggers.

What I would like to do is:

  • While debugging, skip one or several lines without executing them.

  • Alternatively, move the cursor to an earlier line in the same routine to execute that code again.

  • In other words: manually change the current execution position (the “instruction pointer”).

Many debuggers support this because it makes testing and debugging much more efficient.

I understand that changing the code at runtime is not trivial—that part is optional.
But at least having the ability to adjust the current execution position would be extremely helpful.

Regards,
Michael

Ah ok, I see. Maybe you can add this a feature request?