This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Determining when DEBUG is in effect

Does anyone know how to test that the "DEBUG" compiler option (active when "Debug Information" is checked on the Target Options Output tab) is enabled? I would like a simple test such as

#ifdef DEBUG
but this does not work of course.

Thanks.

Parents
  • I have found so many things I need done that uVision can not do (file replacement/renaming - debug mode - many builds from same group of files) so I have reverted to commandline operation. I do this by regular .bat files and if if you want to know how, let me know.

    Erik

Reply
  • I have found so many things I need done that uVision can not do (file replacement/renaming - debug mode - many builds from same group of files) so I have reverted to commandline operation. I do this by regular .bat files and if if you want to know how, let me know.

    Erik

Children
No data