Original Post
Normally if an assert is triggered, a dialog should pop up and show the expression, filename, and line number.
If I do something as simple as :
I get the dialog showing up with the following message :
"Debug Error!
R6010
- abort() has been called
(Press Retry to debug the application)"
and a command prompt displaying the desired message :
"Assertion failed : 1 == 0, ..., line 5"
How can I get it the dialog to NOT say abort has been called and instead have it show the assertion message?
I'm using VS 2010 and I created the project as a win32 console application.
Thanks.
If I do something as simple as :
#include <assert.h>int main(){ assert( 1 == 0 ); return 0;}I get the dialog showing up with the following message :
"Debug Error!
R6010
- abort() has been called
(Press Retry to debug the application)"
and a command prompt displaying the desired message :
"Assertion failed : 1 == 0, ..., line 5"
How can I get it the dialog to NOT say abort has been called and instead have it show the assertion message?
I'm using VS 2010 and I created the project as a win32 console application.
Thanks.