Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visual studio debug vs release mode

Hi I'm using Visual studio 2010 and I can't figure out one thing. I can debug and set breakpoints in release mode as well as debug mode. so then what's the difference between the two?

like image 810
Riz Avatar asked Sep 30 '10 16:09

Riz


1 Answers

The difference is optimizations that the compiler applies in Release mode. You can place breakpoints if you have PDB files and by default they are generated even in Release mode.

like image 99
Darin Dimitrov Avatar answered Sep 28 '22 02:09

Darin Dimitrov