I would suggest that in your project properties under Build you noted Define DEBUG constant .
Try setting the configuration mode to Release and run the application again. The default value for Release is that the DEBUG constant is not defined unless you faked, unless, of course;)
If Define DEBUG constant not checked, then you have #define DEBUG somewhere hidden.
So, two things. Check the constant in the parameters in the "Release mode" section and check for the presence of a constant constant manually. This must be one of them.
Øyvind Bråthen
source share