Debug preprocessor directive

Post your reviews about the boards you have got.
Post Reply
Author
Message
jlledesma
Posts: 1
Joined: 17 Nov 2012 22:43

Debug preprocessor directive

#1 Post by jlledesma » 16 Jan 2015 12:09

I use Mikroe C compiler and directive that I think that is really needed is one like this:

#ifdef (__DEBUG__) // Automatic activated in when compiling in Debug mode

// More information to send to LCD, Serial, ...

#else // Release version

// Less or none information to LCD, Serial, ...

#endif

Due to the fact that the compiler comes without this option I use to different project files.

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: Debug preprocessor directive

#2 Post by darko.minic » 19 Jan 2015 10:45

Hello,

Thank you for your suggestion. I will certainly forward it to Software Department.

Regards,
Darko

Post Reply

Return to “Review”