objective c - How do I declare a debug only statement -


In C #, I can use the following code for code that only executes during debug build, I How can I do this in the exode?

  If #DEBUG {// and etc.}  

< P> The NDEBUG symbol must already be defined for the creation of release mode

  by #ifndef NDEBUG / * code only * / #endif  

Debug Using NDUUUG, you avoid defining the D-Deb debug logic for the debug build itself.


Comments