[ACCEPTED]-How to set _ITERATOR_DEBUG_LEVEL in VS2010?-iterator

Accepted answer
Score: 31

Found the solution.

Project Pages / Configuration 3 Properties / C,C++ / Preprocessor / Preprocessor 2 Definitions.

Add "_ITERATOR_DEBUG_LEVEL=0" in 1 there worked.

Score: 6

Just as additional information : Project 4 Pages / Configuration Properties / C,C++ / Preprocessor 3 / Preprocessor Definitions and set the preprocessor 2 macro _ITERATOR_DEBUG_LEVEL to one of the 1 following depending on the target :

_ITERATOR_DEBUG_LEVEL = 0 // disabled (for release builds)
_ITERATOR_DEBUG_LEVEL = 1 // enabled (if _SECURE_SCL is defined)
_ITERATOR_DEBUG_LEVEL = 2 // enabled (for debug builds)

More Related questions