title: First-chance COMException thrown at application startup but cannot break to find out where/why it's happening
body: <p>Using: Visual Studio 2012, .NET Framework 4, Windows 7 x64</p>
  
  <p>Sometimes, upon starting my application in debug mode, I see the following line in the Output window:</p>
  
  <blockquote>
    <p>A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in Microsoft.VisualStudio.HostingProcess.Utilities.dll</p>
  </blockquote>
  
  <p>This happens approximately once in every 10 startups and appears to be random (no code is changed, I can just Start, Stop, Start, Stop,  etc. until I see the error in Output).</p>
  
  <p>I would like to know what is causing this first-chance exception. I have the option "<strong>Tools->Options->Debugging->General->Enable Just My Code</strong>" disabled and I have enabled the "<strong>Debug->Exceptions...->Common Language Runtime Exceptions->System.Runtime.InteropServices->System.Runtime.InteropServices.COMException</strong>" option (see screenshot below) in order to break upon getting the exception, but Visual Studio does not break so I don't know where the issue is.</p>
  
  <p>I've tried placing random breakpoints in my code but it seems that whenever I actually have a breakpoint set then the exception doesn't occur.</p>