title: How to make Visual studio break in on uncaught exception in thread?
body: <p>In this sample code, when I call <code>a()</code>, the debugger breaks in properly, and I can inspect all local variables and stack frames.
  <a href="https://i.stack.imgur.com/vpfGc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vpfGc.png" alt="enter image description here" /></a>
  Now if I call <code>b()</code>, I get a completely useless &quot;exception was thrown at ...&quot; where the stack is unraveled already:
  <a href="https://i.stack.imgur.com/6YXKQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6YXKQ.png" alt="enter image description here" /></a></p>
  <p>How can I fix this?</p>