Dear All!
I use Cocos Code IDE under Windows.
I recently decided to move to Cocos2d-x 3.4 from my Cocos2d 3.3 Lua project.
I did this very simply:
I started a new project
I removed default HelloWorld source files
Replaced everything with my own code
Built custom win32 simulator for example.
…aaaand everything works perfectly except debug info. print() doesn’t produce any output in the console, errors do not produce any output.
The new feature that I observe is the message when the project starts to run:
frame scale: 0.50
show console: NO
write debug log: NO ()
listen:
debugger: Cocos Code IDE
add searching path:
So obviously the debug log is disabled. In the new HelloWorld project everything works fine, but I have no idea how to use mvc and the proposed structure of the project to migrate my code. Is there a kind of fast method that I can call to enable the debug? How to use dump(…) function? Or the new project structure is now obligatory to get the console output?
You don’t need to creata a new project to update.
You can use cocos tools (right click cocos code ide project) to upgrade a cocos project.
Maybe your error is now gone?
Nothing special. There is also no output for android device as well. I’ll probably try to reinstall the framework. Otherwise, I don’t know why upgrade is not supported.
Thank you very much for your suggestions.
I switched to the Engine mode. Then I built a new Simulator aaaaand… I have all the print() and error outputs I needed.