Controlling the DEBUG preprocessor definition.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Controlling the DEBUG preprocessor definition.

    I created a project with only a Debug configuration but I sometimes would like to disable that macro definition. For the Common configuration there is an editable list of preprocessor definitions. I can see DEBUG defined in the .emProject file but I don't see a place to change it in the IDE. I suppose I can undefine it?

    Thanks,

    K
  • "DEBUG=1" is usually defined in the Debug configuration of the solution.
    You can either change it there or undefine it in another configuration.

    Best regards
    Johannes
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.