title: Better way for try-catch only in Release?
body: <p>When I want to debug my application that throws exception, that means I need to disable the try-catch block like this:</p>
  
  <pre><code>#if !DEBUG
                  try
                  {
  #endif
                      // Do something
  #if !DEBUG
                  }
                  catch (ArgumentException)
                  {
                      Console.WriteLine("Something wrong");
                  }
  #endif
  </code></pre>
  
  <p>Note: I know about break on handled exception of Visual Studio, but the downside is it break at every exception of the same type. <strong>EDIT to rephrase my meaning:</strong> For example, function A and B both throws NullReferenceException, but I only want to check when A throws it, but not B (handled NulRefExc in B is already correct).</p>
  
  <p>One may ask why I need that. Usually I run ASP.NET MVC code without Debugging (but still in Debug build, which has DEBUG variable), and throwing exception is really great instead of catching it (in dev mode only, of course), because the error page with stack trace will be shown, so we can track the error much quicker.</p>
  
  <p>Is there any cleaner way to write the upper code?</p>