C++ code not invoked from Java code JNI

It is not somehow related to cocos2dx but I am having difficulty on running this function. This function is written on C++ and will be called from Java. The problem is,I don’t know if this being called at all or any way of telling. I place a CCLOG and its pain to sift it through endless of logs. Even though I filtered it, nothing is showing up on the Eclipse’s logcat.

What could be the reason behind why a certain C++ code not being called from Java? I need to debug though to find out but I ain’t got lucky looking for ways debugging NDK in eclipse. Have any suggestion so far?

Thank you!