title: How to force an exception while debugging in Visual Studio?
body: <p>I am running my application in debug mode, and I would like to manually throw an exception (i.e. not from within the code). Is there any way to do this?</p>
  
  <p>Of course, running <code>throw new Exception("My forced exception");</code> in the Command or Immediate window doesn't work.</p>
  
  <p>EDIT: I want the exception to be caught by the try-catch statement that surrounds the code I'm debugging.</p>