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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top