SFML community forums

General => General discussions => Topic started by: Hugo on July 11, 2010, 07:10:25 am

Title: Debug vs release
Post by: Hugo on July 11, 2010, 07:10:25 am
Sorry, ive been asking,lots of questions lately
What is the difference between debug and release .dll's?
And what is the difference between debug and release builds?
Title: Debug vs release
Post by: Hiura on July 11, 2010, 10:37:17 am
Debug is for development 'cause if (for example) your application crashes you can have some information like what appended right before.

Release is for , hum, release  :wink:
You build your application in release when you're about to give/sell it. Release configuration means some optimization (faster execution).

But keep in mind that «debug» and «release» are only name and that everything is about compiler's options.
Title: Ty
Post by: Hugo on July 11, 2010, 05:26:05 pm
Thank you
Also, congrats on the level five
So debug shows what the program returned right? Like1, 0, 1087530....
As in
return 0;

And drelease takes off all the confusing numbers and the console window?
Title: Debug vs release
Post by: Hiura on July 13, 2010, 05:55:56 pm
Not exactly, the best you can do is learn how to use a debugger to see what are the benefits of debug vs release.

About the console window : it's not related at all with the compiler. Some IDEs provide a GUI/non-GUI version of your project (it's something platform specific). You can tell debug version to have no console if you want.