Share via


_crtDbgFlag

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at _crtDbgFlag.

The _crtDbgFlag flag consists of five bit fields that control how memory allocations on the debug version of the heap are tracked, verified, reported, and dumped. The bit fields of the flag are set using the _CrtSetDbgFlag function. This flag and its bit fields are declared in Crtdbg.h. This flag is only available when the _DEBUG flag has been defined in the application.

For more information about using this flag in conjunction with other debug functions, see Heap State Reporting Functions.

See Also

Control Flags