Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Debug vs release  (Read 4163 times)

0 Members and 1 Guest are viewing this topic.

Hugo

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Debug vs release
« 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?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Debug vs release
« Reply #1 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.
SFML / OS X developer

Hugo

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Ty
« Reply #2 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?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Debug vs release
« Reply #3 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.
SFML / OS X developer