Program.IsBeingDebugged Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.