I am trying to detect memory leak, and I am using make _CRTDBG_MAP_ALLOC macro to locate where the leaks area. So I am defining MACRO like following:
#ifdef _DEB
It seems the line of the leak only is displayed if the CRT is turned on in that cpp file.