Can I compile a debug build in visual studio and specify not to zero out variables?

97 Views Asked by At

As the question says: Is there a setting in visual studio that will let me build and run in debug mode, but NOT initialize variables to zero? I run into too many problems when I go to release mode and have to hunt down the things that worked fine in debug and crash in release. I just want to forgo this option in debug mode henceforth, is it possible?

Sorry, I forgot to add: This is for C++

0

There are 0 best solutions below