title: Sometimes, but not always, I get a JIT exception on cl.exe if I have a compilation error. How can I disable this?
body: <p>When compiling C++ in Visual Studio Professional 2022, if there is a compile error, the Just in Time exception popup will appear. This blocks further compilation until the JIT popup is dismissed.</p>
  <p>The cause of the exception is unclear. It doesn't seem to be related to any specific file, project, or solution and even specific errors are not consistent. For instance, I had the exception every time I was compiling earlier today. Once I fixed the errors and had a successful compile, I undid my changes just to test and, while I got the same errors, there was no exception.</p>
  <p>Has anyone seen this before? Any idea what might be causing it or how to fix it?</p>
  <p><a href="https://i.stack.imgur.com/sYlp2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sYlp2.png" alt="enter image description here" /></a></p>