private bool IsDebuggerAttached() { #if DEBUG return(false); #else return(NativeImport.IsDebuggerPresent()); #endif }