Report question

Question: Why does a C/C++ program often have optimization turned off in debug mode?