IDebuggerInfo::IsDebuggerAttached Method
Gets a value that indicates whether a managed debugger is attached to this process.
Syntax
HRESULT IsDebuggerAttached (
[out] BOOL *pbAttached
);
Parameters
pbAttached
[out] A pointer to a value that is true
if a managed debugger is attached to the process; otherwise, false
.
Requirements
Platforms: See System Requirements.
Header: MSCorEE.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 2.0
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.