title: How to disable debug assertion dialog visual studio or on the output exe
body: <p>How to disable the assertion dialog in visual studio or on the output executable.
  I am working with c++.</p>
  
  <p>When running my executable I get the Debug dialog with options Abort/Retry/Ignore</p>
  
  <p>I have already tried without success the following options:
  no success even after log off:</p>
  
  <h2>option 1:</h2>
  
  <p>Clear Managed, Native, or Script in the Just-In-Time debugging under tool options</p>
  
  <h2>option 2:</h2>
  
  <p>HKLM\Software\Microsoft.NETFramework</p>
  
  <p>change DbgJITDebugLaunchSetting to 1 (hex) from 10 (hex)</p>
  
  <h2>option 3:</h2>
  
  <ol>
  <li><p>Start Registry Editor and locate the following Registry subkey in the HKEY_LOCAL_MACHINE subtree:
  \SOFTWARE\MICROSOFT\WINDOWS NT\CURRENTVERSION\AEDEBUG</p></li>
  <li><p>Select the Debugger value.</p></li>
  <li>On the Edit menu, click String. </li>
  </ol>
  
  <p>•   To use the Windows debugger, type windbg -p %ld -e %ld.
  •   To use Visual C++ 4.2 or earlier, type msvc -p %ld -e %ld.
  •   To use Visual C++ 5.0 or later, type msdev.exe -p %ld -e %ld.
  •   To use Dr. Watson, type drwtsn32.exe -p %ld -e %ld. You can also make Dr. Watson the default debugger by running this command:drwtsn32.exe -i.
  4.  Choose OK and exit Registry Editor.</p>