Main Site Documentation

DEBUG and RELEASE mode question


why when i select release mode, does VS still act as if its in debug mode. i can still pause the program and debug it as if i was in debug mode. This is also confirmed when i select release, then run, then try to close VS, i get a popup asking if i want to stop debugging.


Release mode doesn’t creating any of the debugging symbols. However while you have the source code open in front of you, Studio doesn’t really [italic]need[/italic] the debugging symbols. So in that respect it can still work.

However say you create a project with a DLL you also created. In debug mode if something happens in this DLL you’ll be able to step right into it because you have the symbols. In release mode you will not be able to step into it.

Does that help make it a bit clearer?


it helps, thanks