What is the difference between Debug and Release mode?

3

I started to get the error: "Microsoft C ++ runtime error library". And I got a lot of trouble trying to fix this error.

I was using Qt Creator with mingw32 in debug mode , but I realized that this mode depends on many compiler DLLs.

I know there is a release mode for building the program, my question is, what is the difference between the two modes?

release is more advantageous than debug by MingW?

    
asked by anonymous 30.08.2016 / 17:47

1 answer

5

It's not a matter of being more advantageous, as the name itself says is for debugging and the another is for release purposes (put into production).

debug mode has much more information available so debug software can help the developer to debug your code. By having much more information, not required for normal implementation of the application, it is of course much heavier code.

Actually sending debugging information to an end application can be considered until a security flaw.

This does not matter the language, library, compiler, or anything, it's universal.

The Microsoft C ++ Runtime is required regardless of whether it is debug or release .

    
30.08.2016 / 17:58