[Lazarus] Are there some preprocessor values that can be set in the IDE for debugging, ie DEBUG et al?

Andreas Schneider aksdb at gmx.de
Wed Jan 12 21:28:03 CET 2011


On 12.01.2011, 20:23 Frank Church wrote:

> Is there a preprocessor value that can be set in the IDE for debugging?

> eg.

> ifdef XXXXXX
>   showmessage('yyyyy')
> endif, 

> I am interested in options that can be ticked in the IDE dialogs rather than typed.


I think Build Modes in the current Lazarus version (0.9.30+) should be THE answer for such questions :D Yes, you still have to set the define then, but only once, because after that you just switch to that build mode and are done.

--
Andreas Schneider 





More information about the Lazarus mailing list