title: How to prevent Debug.Assert(...) to show a modal dialog
body: <p>I have a couple of libraries which use <code>Debug.Assert(...)</code>. I think that the <code>Debug.Assert(...)</code> are fine and I still want them to execute, but I don't want them to block the execution of my application. Ideally, I would only like them to be logged somewhere.</p>
  
  <p>Given that I can't change the code of the libraries (and that I still want to compile in debug and run the assertion), how do I prevent <code>Debug.Assert(...)</code> to show a modal dialog?</p>
  
  <p>In addition, I would like to make sure that the main program continues when an <code>Assert</code> occurs (same behavior as the Ignore button).</p>
  
  <p>Thanks!</p>