Condividi tramite


Program.IsBeingDebugged Property

Definition

Gets whether a program is being debugged when this property is called.

public:
 property bool IsBeingDebugged { bool get(); };
public:
 property bool IsBeingDebugged { bool get(); };
[System.Runtime.InteropServices.DispId(102)]
public bool IsBeingDebugged { [System.Runtime.InteropServices.DispId(102)] get; }
[<System.Runtime.InteropServices.DispId(102)>]
[<get: System.Runtime.InteropServices.DispId(102)>]
member this.IsBeingDebugged : bool
Public ReadOnly Property IsBeingDebugged As Boolean

Property Value

The Boolean value, true, if the program is being debugged; otherwise, false.

Attributes

Remarks

IsBeingDebugged returns true if the program is being debugged when this property is called. IsBeingDebugged returns false if the program is not being debugged.

Note

The program may change debug states even before this function call has a chance to return.

Applies to