For Eclipse, CCLog doesn't work. CCMessageBox works well

android-logcat, cocos2d-x

Solution

Just wondering two thing: 1. are you using CCLog or CCLOG (all big case)?

did you put

    #define COCOS2D_DEBUG 1

at the really top (higher than any #include) in the cpp file that you wanna debug?

Problem

I'm using the latest code checked out from GitHub. (0.13.0 beta) I'm developing for Android with Eclipse. I did added *COCOS2D_DEBUG* in Android.mk. I checked and made sure that COCOS2D_DEBUG was indeed defined with the value of 1. Problem: CCLog won't print anything to the LogCat. In the meantime, CCMessageBox works well. (I then tested the same set of code on iOS, both CCLog and CCMessageBox work well.) What am I missing here?

Original source