Check if Application is on the Debugger?

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Hey,

While Debugging, i would not like some code to fire the "Throw new
Exception" code, because VS then catches it, but in Release mode, i have
a custom GLOBAL error Handler that will show the exception in a friendly
format (So they can send it to me).

Is there like an "App.IsDebugging" statement that i can put in an If
Statement like so?

if Not App.IsDebugging then

End if


Cheers
 
Back
Top