Skip to content

Latest commit

 

History

History
50 lines (48 loc) · 1.54 KB

File metadata and controls

50 lines (48 loc) · 1.54 KB
title _crtDbgFlag | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-standard-libraries
ms.tgt_pltfrm
ms.topic article
f1_keywords
_crtDbgFlag
crtDbgFlag
dev_langs
C++
helpviewer_keywords
memory allocation, tracking flag
crtDbgFlag constant
_crtDbgFlag constant
debug heap, tracking memory on
debug heap, control flags
enable memory allocation tracking flag
memory, tracking on the debug heap
ms.assetid 9e7adb47-8ab9-4e19-81d5-e2f237979973
caps.latest.revision 8
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

_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