Debug In linux

I am using Qt creator linux based setup to make games in linux. Can anyone help me how to debug and logging in cocos. I tried to use CCLOG but don’t know where these logs are getting published.

CCLog is being “published” to stdout (or stderr? stdout i think…), so it’d be either in output console in your IDE or in terminal emulator.

To debug you can use gdb or lldb. Here is some debuging tutorial in qtcreator: https://qt-project.org/doc/qtcreator-2.6/creator-debugger-engines.html

Thanks got it now. However cocos documentation is very poor.

You have the source code, it is the best documentation.

Yes however digging takes more time.