title: How to Programmatically Break on All Errors?
body: <p>What I want to do is set a flag to go from this option:
  <a href="https://i.stack.imgur.com/kDUlS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kDUlS.png" alt="enter image description here" /></a></p>
  <p>To this option:</p>
  <p><a href="https://i.stack.imgur.com/r3Hzu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r3Hzu.png" alt="enter image description here" /></a></p>
  <p>The reason for this is that I have error handlers throughout my code and whilst I'm debugging I want to be able to see what the errors are.</p>
  <p>Setting the error flag off:</p>
  <pre><code>On Error GoTo 0
  </code></pre>
  <p>Will just take me back to the last place error handling was used, like two or three procedures before the one I'm working on.</p>
  <p>The reasoning behind this is that I have a large codebase and I know there are several sections that I do not need to see what the errors are but I do once I get to a certain part of the processing (many hundreds of calls deep), it is at this point I want to turn on <strong>Break on Unhandled Errors</strong>.</p>