BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

#include or other code for "Full Debug"

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
caleb
Guest





PostPosted: Sat Feb 11, 2006 7:03 pm    Post subject: #include or other code for "Full Debug" Reply with quote



Hello:

I'd like to have a bool set to true when the IDE is compiling
in "Full Debug" mode. SOmething like:

bool myBool = false;
// code to detect compiler is in full debug
myBool = true;

Thanks
Back to top
Liz Albin
Guest





PostPosted: Sat Feb 11, 2006 7:03 pm    Post subject: Re: #include or other code for "Full Debug" Reply with quote



On 11 Feb 2006 10:30:25 -0700, caleb wrote:

Quote:
I'd like to have a bool set to true when the IDE is compiling
in "Full Debug" mode. SOmething like:

check _DEBUIG

eg

#ifdef _DEBUG
// do something
#else
// do something else
#endif
--
liz
Back to top
Mark Jacobs
Guest





PostPosted: Thu Feb 16, 2006 11:03 am    Post subject: Re: #include or other code for "Full Debug" Reply with quote



Liz Albin wrote:
Quote:
check _DEBUG
eg
#ifdef _DEBUG
// do something
#else
// do something else
#endif

Thanks Liz. I wish I'd known that one a little while ago, rather than waiting for the
107th loop to occur, when the bug reared its ugly head.
--
Mark Jacobs
http://www.dkcomputing.co.uk
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.