 <p>If you turn stop on errors on, then interrupting it, even with ctrl+c, brings you to the place where it was executing and you have the whole workspace available:</p> <pre><code>dbstop if error </code></pre>