Here's the development of a tiny little macro that is actually pretty useful. The post is quite verbose, because I explain a lot. I want a debug function
My code is more readable for me than yours. That’s just how it is. While the JavaScript CoffeeScript compiles looks decent, it’s still not mine. This is a big deal. If I were making a list of things I really really love, my CoffeeScript workflow wouldn’t make it, check it out:
To put it simply, Krumo is a replacement for print_r(); and var_dump();. By definition Krumo is a debugging tool (PHP4/PHP5), which displays structured information about any PHP variable.
AppController.mm file and change #define ENABLE_INTERNAL_PROFILER 0 to #define ENABLE_INTERNAL_PROFILER 1. Choose Run->Console in the XCode menu to display output (GDB) console and then run your project. Unity iOS will output statistics to the console window every 30 frames. For example: