Debugger.IsLogging Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Checks to see whether logging is enabled by an attached debugger.
Assembly: mscorlib (in mscorlib.dll)
Return Value
Type: System.Booleantrue if a debugger is attached and logging is enabled; otherwise, false. The attached debugger is the registered managed debugger in the DbgManagedDebugger registry key.
Show: