-
August 27th, 2007, 12:50 AM
#1
difference between debug-build and release build
Hi all,
Can anybody please tell me the difference between debug-build and release build....
thanks in advance
-
August 27th, 2007, 01:28 AM
#2
Re: difference between debug-build and release build
-
August 27th, 2007, 02:04 AM
#3
Re: difference between debug-build and release build
Originally Posted by VCProgrammer
Hi all,
Can anybody please tell me the difference between debug-build and release build....
thanks in advance
Debug build contains debug information, as the name itself suggests, useful when you are running and debugging your application. While in release build, such information is removed by the compiler and as a result, you build size is smaller.
-
August 27th, 2007, 07:32 AM
#4
Re: difference between debug-build and release build
Release and debug builds are project configurations, i.e. a set of settings for different tools that are involved in the building process, such as the compiler or linker. Though you get a default set of such settings, the differences can change from project to project. In general, debug config has enables debug information and disables optimization.
-
August 27th, 2007, 10:14 PM
#5
Re: difference between debug-build and release build
Actually, it's just a main difference with defition: _DEBUG and DEBUG.
Some code won't show up in the relase mode, if there are under
#ifdef _DEBUG
//blahblah code
#endf
Another difference is in Visual Studio, debug mode using contain tracing info. However, that's just the setting, and you can also put those setting in the release mode, while we sometimes call it "release_debug" mode, which means it's realse version, but you can use it to trace code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|