Debugger 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
啟用與調試程序的通訊。 無法繼承這個類別。
public ref class Debugger abstract sealed
public ref class Debugger sealed
C#
public static class Debugger
C#
public sealed class Debugger
C#
[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
- 繼承
-
Debugger
- 屬性
Debugger() |
已淘汰.
初始化 Debugger 類別的新實例。 |
Default |
表示具有常數之訊息的默認類別。 |
Is |
取得值,這個值表示調試程式是否附加至進程。 |
Break() |
向附加調試程式發出斷點的訊號。 |
Break |
如果 .NET 調試程式在啟用使用者未處理的例外狀況時附加了中斷,且具有DebuggerDisableUserUnhandledExceptionsAttribute 呼叫此方法時,會使用 |
Is |
檢查是否已由附加調試程式啟用記錄。 |
Launch() |
啟動調試程式並將調試程式附加至進程。 |
Log(Int32, String, String) |
張貼附加調試程式的訊息。 |
Notify |
通知調試程式執行即將進入涉及跨線程相依性的路徑。 |
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.0, 1.1, 1.2, 1.3, 1.4, 1.6, 2.0, 2.1 |
UWP | 10.0 |