Guys ... is there any way for me to detect whether or not my code is running under the IDE? I.E.
if (SomeNameSpace.IDE_Active())
Console.WriteLine("Code is running in the IDE!");
Thanks,
-Max
Printable View
Guys ... is there any way for me to detect whether or not my code is running under the IDE? I.E.
if (SomeNameSpace.IDE_Active())
Console.WriteLine("Code is running in the IDE!");
Thanks,
-Max
System.Diagnostics.Debugger.IsAttached
I think you could also use Conditional Compilation logic here as well, something like :
Code:#If Debug = True Then
'Code to fire WHILE debugging
#Else
'Code to fire IF NOT DEBUGGING
#End If
Thanks guys ... will check it out.
-Max