Debugger::IsLogging Method ()

 

Checks to see if logging is enabled by an attached debugger.

Namespace:   System.Diagnostics
Assembly:  mscorlib (in mscorlib.dll)

public:
static bool IsLogging()

Return Value

Type: System::Boolean

true if a debugger is attached and logging is enabled; otherwise, false. The attached debugger is the registered managed debugger in the DbgManagedDebugger registry key. For more information on this key, see Enabling JIT-Attach Debugging.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: