Re: How to check if application is in debug mode by Patrice
Patrice
Thu May 11 03:14:06 CDT 2006
If you really want to test for DEBUG mode , you could use conditional
compilation (#If directive) to create a function that returns true /false
depending on the DEBUG symbol...
If you meant rather that you want to know if a debugger is attached, you
could use System.Diagnostics.Debugger.IsAttached...
--
Patrice
"Debi" <debi@nospam.com> a écrit dans le message de news:
83E2B1C6-24F5-4BD7-86B5-1C351857EB7F@microsoft.com...
> Hi,
> Is there any way to check if the application is in debug mode or running
> from the exe.
>
>
> Thanks in advance,
> Debi