The error occurs only in release mode.

My application closes somehow only in the release mode. And I don’t even see the call stack. I think it all broke down.

And it works fine in debug mode. What is the problem? Or how can I find out what the problem is?

Another problem: I want to try debugging mode with non-initialized variables. I mean, as far as I know, in debug mode, all variables are initialized correctly (is this right?). But not in release mode. Therefore, I want to try debugging mode without automatic initialization mode. Is it possible?

I am working on VS2010, C ++, directX, Windows 7. Thanks.

+3
source share
2 answers

, , , (, , ) .

-

, . , ? ( , WM_CLOSE) , _abort.

, , , , ( -, ).

debug release:

  • debug ( , /Runtime )
  • debug ( / // RTC)
  • ( -/O)
  • (_DEBUG vs NDEBUG) ( /)

, , " ". , .

+3

99% , .

+5

All Articles