Example #1
0
        //
        // Check for an attached debugger.
        //

        internal static bool IsDebuggerAttached()
        {
            return(Debugger.IsAttached || SafeNativeMethods.IsDebuggerPresent());
        }