- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
P2: Important
 - 
    2.4.3
 - 
    None
 - 
    Qt 5.13.2
 
- 
        
 - 
        6cfad4728f804130730f165cd293f92c48bce70f
 
Using assetions is critical for our testing. Unfortunately, Qt Vs Tools seems to disable assertions by forcing NDEBUG define for some reason - even in Debug configuration).
Steps to replicate:
1) Create new "Qt Console Application" project
2) Open "main.cpp" and add " assert(false == true);" before Qt application initialization:

3) Run the app in Debug mode - assertion is not hit

4) Go to "assert" definition, NDEBUG seems to be defined:

- is duplicated by
 - 
                    
QTVSADDINBUG-764 Debug mode sets wrong NDEBUG flag.
-         
     - Closed
 
 -         
 
- resulted in
 - 
                    
QTBUG-81569 qmake: NDEBUG macro always added, regardless of configuration
-         
 - Closed
 
 -