Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Build Configuration - what is this?


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Jul 23, 2017 2:16 AM Last Post By: Gerald Holdsworth
Gerald Holdsworth

Posts: 76
Registered: 5/23/12
Build Configuration - what is this?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 22, 2017 8:28 AM
Hi all,

Having come from BDS2006 (well, originally Delphi 1, 2, 3, then 4 before going to BDS2006) I've always created an application then distributed the executable. However, now I'm using Berlin and Tokyo (I find it very useful having both), I find this 'Build Configuration' setting under my Project Manager. So, what purpose does this serve exactly? i.e. what is the difference between the executable produced by a Debug configuration and a Release configuration?

(I should point out that I'm using the free Starter versions of both, but the previous 5 Delphis were the full commercial packages)

Cheers,

Gerald.

Edited by: Gerald Holdsworth on Jul 22, 2017 4:29 PM
Alex Belo

Posts: 626
Registered: 10/8/06
Re: Build Configuration - what is this? [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 22, 2017 9:01 AM   in response to: Gerald Holdsworth in response to: Gerald Holdsworth
Gerald Holdsworth wrote:

I find this 'Build Configuration' setting under my Project Manager.
So, what purpose does this serve exactly? i.e. what is the difference
between the executable produced by a Debug configuration and a
Release configuration?

Debug configutation equips the application for debugging (breakpoints,
watches, etc.); optimizations are usually disabled.

Release configuration usually disables debug info but enables
optimizations for speed.

You always can customize configurations (enable debug info in release
mode, for example).

Having come from BDS2006 (well, originally Delphi 1, 2, 3, then 4
before going to BDS2006)

Debug and release configurations are available since Delphi 1, I think.

--
Alex
Gerald Holdsworth

Posts: 76
Registered: 5/23/12
Re: Build Configuration - what is this? [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 23, 2017 2:16 AM   in response to: Alex Belo in response to: Alex Belo
{quote:title=Alex Belo wrote:}

Debug configutation equips the application for debugging (breakpoints,
watches, etc.); optimizations are usually disabled.

Release configuration usually disables debug info but enables
optimizations for speed.

You always can customize configurations (enable debug info in release
mode, for example).

Ah, right. Thank you.


Having come from BDS2006 (well, originally Delphi 1, 2, 3, then 4
before going to BDS2006)

Debug and release configurations are available since Delphi 1, I think.

Really? Never found it until now. Must open my eyes a bit more, me thinks!! ;-)

Cheers,

Gerald.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02