Debugger Debugger Debugger Debugger Class

定义

启用与调试器的通讯。Enables communication with a debugger. 此类不能被继承。This class cannot be inherited.

public ref class Debugger sealed
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class Debugger
type Debugger = class
Public NotInheritable Class Debugger
继承
DebuggerDebuggerDebuggerDebugger
属性

构造函数

Debugger() Debugger() Debugger() Debugger()

初始化 Debugger 类的新实例。Initializes a new instance of the Debugger class.

字段

DefaultCategory DefaultCategory DefaultCategory DefaultCategory

用常数表示消息的默认类别。Represents the default category of message with a constant.

属性

IsAttached IsAttached IsAttached IsAttached

获取一个值,它指示调试器是否已附加到进程。Gets a value that indicates whether a debugger is attached to the process.

方法

Break() Break() Break() Break()

发出信号表示连接调试器的断点。Signals a breakpoint to an attached debugger.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
IsLogging() IsLogging() IsLogging() IsLogging()

检查连接的调试器是否已启用日志记录。Checks to see if logging is enabled by an attached debugger.

Launch() Launch() Launch() Launch()

启动调试器并将其连接到进程。Launches and attaches a debugger to the process.

Log(Int32, String, String) Log(Int32, String, String) Log(Int32, String, String) Log(Int32, String, String)

发送连接调试器的消息。Posts a message for the attached debugger.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
NotifyOfCrossThreadDependency() NotifyOfCrossThreadDependency() NotifyOfCrossThreadDependency() NotifyOfCrossThreadDependency()

通知调试器执行即将进入一个涉及跨线程依赖项的路径。Notifies a debugger that execution is about to enter a path that involves a cross-thread dependency.

ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于