Login Page - Create Account

Support Board


Date/Time: Thu, 13 Feb 2025 20:09:42 +0000



Post From: CPU Exception when building for debugging but not release?

[2020-12-17 09:22:49]
binaryduke - Posts: 378
If you are using Visual Studio, try updating to the latest release. I have experienced the opposite situation - fine in Debug (which in turn disables code optimisation and adds padding to avoid stack corruption) but nightmare errors in Release mode.

It turned out that the build of Visual Studio I was using had a bug causing bad code to be generated but only in release mode. Un-bloody-believable.