Detecting The Debug Version
-
Good people, How do I use the preprocessor "#if" to detect whether my app is running in debug or release mode? (I know, I'm embarrassed to ask. Here, I've built an entire app and don't know how to detect debug mode. Doh!) Thanks, Blitz
-
Good people, How do I use the preprocessor "#if" to detect whether my app is running in debug or release mode? (I know, I'm embarrassed to ask. Here, I've built an entire app and don't know how to detect debug mode. Doh!) Thanks, Blitz
Hi, by default a debug build has DEBUG and TRACE predefined, whereas a release build has not. However you can change these settings (and predefine other symbols) in the build tab of the project properties. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
Good people, How do I use the preprocessor "#if" to detect whether my app is running in debug or release mode? (I know, I'm embarrassed to ask. Here, I've built an entire app and don't know how to detect debug mode. Doh!) Thanks, Blitz
-
Good people, How do I use the preprocessor "#if" to detect whether my app is running in debug or release mode? (I know, I'm embarrassed to ask. Here, I've built an entire app and don't know how to detect debug mode. Doh!) Thanks, Blitz
Thank you all so much. I appreciate it.