Watch, Follow, &
Connect with Us

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


Welcome, Guest
Guest Settings
Help

Thread: Debug or Debug_Build


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


Permlink Replies: 10 - Last Post: Jun 9, 2014 8:02 AM Last Post By: Alexander Stols
Alexander Stols

Posts: 9
Registered: 5/17/99
Debug or Debug_Build  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 7, 2014 8:34 AM
Hello,

I found that in some projects the .exe is output to a map called "Debug_Build", while in most cases it is output to "Debug". I cannot find where in the Project Options this is set (or if it is set there at all). Where would that be determined? I use RAD Studio 2010.
--
Regards, Alexander Stols
[Rad Studio 2010; Win7 64bits; CPU i7-2600K @3.40GHz]
Asger Joergensen

Posts: 370
Registered: 11/18/08
Re: Debug or Debug_Build  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 7, 2014 12:43 PM   in response to: Alexander Stols in response to: Alexander Stols
Hi Alexander

Alexander Stols wrote:

Hello,

I found that in some projects the .exe is output to a map called
"Debug_Build", while in most cases it is output to "Debug". I cannot find
where in the Project Options this is set (or if it is set there at all). Where
would that be determined? I use RAD Studio 2010.

Project->Options->Directories and Conditionals: Final output directory = .

Will put the exe in the same directory as the project file


Best regards
Asger-P

MacroMenu: Store clips, mail templates, macros, bogmarks and a lot more.
View the video: http://asger-p.dk/software/macromenu.php#QuickTour

Alexander Stols

Posts: 9
Registered: 5/17/99
Re: Debug or Debug_Build  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 7, 2014 1:20 PM   in response to: Asger Joergensen in response to: Asger Joergensen
Asger Joergensen wrote:

Project->Options->Directories and Conditionals: Final output directory = .

Will put the exe in the same directory as the project file

Yes, I know that, but that is not my problem. When I remove the dot in the final putput directory the compiler creates its own output directory, the name of which depends on wether a debug or a release version is compiled. In almost all cases the names are "Debug" and "Release", but on rare occasions the names are "Debug_Build" and "Release_Build". My question is why this is so. Why is it not ALWAYS "Debug" and "Release" ??
--
Regards, Alexander Stols
[Rad Studio 2010; Win7 64bits; CPU i7-2600K @3.40GHz]

Edited by: Alexander Stols on Jun 7, 2014 1:20 PM
Antonio Estevez

Posts: 665
Registered: 4/12/00
Re: Debug or Debug_Build [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 7, 2014 1:33 PM   in response to: Alexander Stols in response to: Alexander Stols
El 07/06/2014 22:20, Alexander Stols escribió:
Asger Joergensen wrote:

Project->Options->Directories and Conditionals: Final output directory = .

Will put the exe in the same directory as the project file

Yes, I know that, but that is not my problem. When I remove the dot in the final putput directory the compiler creates its own output directory, the name of which depends on wether a debug or a release version is compiled. In almost all cases the names are "Debug" and "Release", but on rare occasions the names are "Debug_Build" and "Release_Build". My question is why this is so. Why is it not ALWAYS "Debug" and "Release" ??
--
Regards, Alexander Stols
[Rad Studio 2010; Win7 64bits; CPU i7-2600K @3.40GHz]

Edited by: Alexander Stols on Jun 7, 2014 1:20 PM

Did you upgraded those projects (with "Debug_Build" and "Release_Build")
from an old version?
I remember BCB 2007 naming the folders that way.
Alexander Stols

Posts: 9
Registered: 5/17/99
Re: Debug or Debug_Build [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 7, 2014 1:38 PM   in response to: Antonio Estevez in response to: Antonio Estevez
Antonio Estevez wrote:

Did you upgraded those projects (with "Debug_Build" and "Release_Build")
from an old version?
I remember BCB 2007 naming the folders that way.

Yes I did. I was just thinking along those lines since my old projects done in 2007 all have the "*_Build" type maps. Should I edit the project file or make a complete new project?

--
Regards, Alexander Stols
[Rad Studio 2010; Win7 64bits; CPU i7-2600K @3.40GHz]
Antonio Estevez

Posts: 665
Registered: 4/12/00
Re: Debug or Debug_Build [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 7, 2014 1:39 PM   in response to: Alexander Stols in response to: Alexander Stols
El 07/06/2014 22:38, Alexander Stols escribió:
Antonio Estevez wrote:

Did you upgraded those projects (with "Debug_Build" and "Release_Build")
from an old version?
I remember BCB 2007 naming the folders that way.

Yes I did. I was just thinking along those lines since my old projects done in 2007 all have the "*_Build" type maps. Should I edit the project file or make a complete new project?

You can change them in the Project Options
Alexander Stols

Posts: 9
Registered: 5/17/99
Re: Debug or Debug_Build [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 7, 2014 1:41 PM   in response to: Antonio Estevez in response to: Antonio Estevez
Antonio Estevez wrote:

You can change them in the Project Options

But I don't see where...

--
Regards, Alexander Stols
[Rad Studio 2010; Win7 64bits; CPU i7-2600K @3.40GHz]
Antonio Estevez

Posts: 665
Registered: 4/12/00
Re: Debug or Debug_Build [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 7, 2014 1:51 PM   in response to: Alexander Stols in response to: Alexander Stols
El 07/06/2014 22:41, Alexander Stols escribió:
Antonio Estevez wrote:

You can change them in the Project Options

But I don't see where...

--
Regards, Alexander Stols
[Rad Studio 2010; Win7 64bits; CPU i7-2600K @3.40GHz]

Menu Project -> Options
-> Directories and Conditionals

Select a Build Configuration in the combo box

Modify the "Final output directory" and "Intermediate output" options as
you prefer

Alexander Stols

Posts: 9
Registered: 5/17/99
Re: Debug or Debug_Build [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 7, 2014 2:10 PM   in response to: Antonio Estevez in response to: Antonio Estevez
Antonio Estevez wrote:

Menu Project -> Options
-> Directories and Conditionals

Select a Build Configuration in the combo box

Modify the "Final output directory" and "Intermediate output" options as
you prefer

Thank you Antonio, I see it now. I struggled with the two optset files before, couldn't set them as I wished, but that will be fine some time soon I hope.

--
Regards, Alexander Stols
[Rad Studio 2010; Win7 64bits; CPU i7-2600K @3.40GHz]
Asger Joergensen

Posts: 370
Registered: 11/18/08
Re: Debug or Debug_Build [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 7, 2014 2:29 PM   in response to: Alexander Stols in response to: Alexander Stols
Hi Alexander

Alexander Stols wrote:

Antonio Estevez wrote:

Did you upgraded those projects (with "Debug_Build" and "Release_Build")
from an old version?
I remember BCB 2007 naming the folders that way.

Yes I did. I was just thinking along those lines since my old projects done in
2007 all have the "*_Build" type maps. Should I edit the project file or make
a complete new project?

It is always recommended NOT to auto upgrade projects, but instead create
a new project and then add all source files to that new project.

Best regards
Asger-P

MacroMenu: Store clips, mail templates, macros, bogmarks and a lot more.
View the video: http://asger-p.dk/software/macromenu.php#QuickTour

Alexander Stols

Posts: 9
Registered: 5/17/99
Re: Debug or Debug_Build [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 9, 2014 8:02 AM   in response to: Asger Joergensen in response to: Asger Joergensen
Asger Joergensen wrote:

It is always recommended NOT to auto upgrade projects, but instead create
a new project and then add all source files to that new project.
Yes I know, but possibly I didn't know yet when I was converting this particular project. Thanks for your comments, Asger.
--
Regards, Alexander Stols
[Rad Studio 2010; Win7 64bits; CPU i7-2600K @3.40GHz]
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02