First one – is what NDEBUG somehow already defined by default, so asserts don’t work until you #undef it.
Second one – they do they work, but i receive no logging in DDMS.
If there is some android specific one assert.h?
Or i just do something wrong?
If you want to compile your code with asserts then you can do it in three ways: