Toad World® Forums

Allow script runner to suspend/resume execution

All,

When running a script using F5, we get a pop-up with a cancel button.
By default this button is 'in scope', which can be an unhappy default for longer-running scripts.

Also, sometimes something unexpected or suspicious flies by in the output window.
In such cases I'd like to be able to suspend execution.
That gives me time to check and investigate the issue before deciding to cancel execution, or to let it continue to run..

Would it be possible to add a 'Suspend' button? And make that the default button for being in scope?
Hitting a suspend button inadvertently has less far-reaching consequences than hitting the cancel button by accident.

In suspend mode, would it then be possible to view the script output generated thus far
before either resuming or cancelling further execution of the script?

Kind regards,
Abe Kornelis
==========