Szerkesztés

Megosztás a következőn keresztül:


Debugger Class

Definition

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

public ref class Debugger abstract sealed
public ref class Debugger sealed
public static class Debugger
public sealed class Debugger
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class Debugger
type Debugger = class
[<System.Runtime.InteropServices.ComVisible(true)>]
type Debugger = class
Public Class Debugger
Public NotInheritable Class Debugger
Inheritance
Debugger
Attributes

Constructors

Debugger()
Obsolete.

Initializes a new instance of the Debugger class.

Fields

DefaultCategory

Represents the default category of message with a constant.

Properties

IsAttached

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

Methods

Break()

Signals a breakpoint to an attached debugger.

BreakForUserUnhandledException(Exception)

Signals a breakpoint to an attached debugger with the exception details if a .NET debugger is attached with break on user-unhandled exception enabled and a method attributed with DebuggerDisableUserUnhandledExceptionsAttribute calls this method.

IsLogging()

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

Launch()

Launches and attaches a debugger to the process.

Log(Int32, String, String)

Posts a message for the attached debugger.

NotifyOfCrossThreadDependency()

Notifies a debugger that execution is about to enter a path that involves a cross-thread dependency.

Applies to