Can I turn off optimization?

  • Thread starter Thread starter active
  • Start date Start date
A

active

During debugging I tried to display the value of a variable and was told it
couldn't be displayed because the code had been optimized.

Can I turn off optimization?


Thanks
 
active said:
During debugging I tried to display the value of a variable and was told
it couldn't be displayed because the code had been optimized.

Can I turn off optimization?

"My Project" (in solution explorer) -> "Compilation" -> "Extended
Compilation Options..." -> [_] "Enable Optimizations". Note that I have
translated the menu items' captions from my German VS to English, so the
exact labels may differ.
 
Thanks for all your trouble!


Herfried K. Wagner said:
active said:
During debugging I tried to display the value of a variable and was told
it couldn't be displayed because the code had been optimized.

Can I turn off optimization?

"My Project" (in solution explorer) -> "Compilation" -> "Extended
Compilation Options..." -> [_] "Enable Optimizations". Note that I have
translated the menu items' captions from my German VS to English, so the
exact labels may differ.
 
Back
Top