Debugger.IsAttached 属性

定义

获取一个值,它指示调试器是否已附加到进程。

public:
 static property bool IsAttached { bool get(); };
public static bool IsAttached { get; }
member this.IsAttached : bool
Public Shared ReadOnly Property IsAttached As Boolean

属性值

Boolean

如果调试器已连接,则为 true;否则为 false

适用于