Table of Contents

Class Debugger

Namespace
System.Diagnostics
Assembly
mscorlib.dll

Enables communication with a debugger. This class cannot be inherited.

public static class Debugger
Inheritance
Debugger
Inherited Members

Properties

IsAttached

Gets a value that indicates whether a debugger is attached to the process.

public static bool IsAttached { get; }

Property Value

bool

true if a debugger is attached; otherwise, false.

Methods

Break()

Signals a breakpoint to an attached debugger.

public static void Break()