Right now we need to check the logging message inside output panel of Microsoft Visual Studio
If we call AllocConsole before start, we should be able to open a console for both input/output.
You mean have a embedded console? I think it’s a good idea. feel free to submit a feature request
http://cocos2d-x.org/projects/native/issues/new
Let me provide the sample code (AppDelegate.cpp)
@
AppDelegate::AppDelegate() {
BOOL f = AllocConsole();
freopen(“CONIN$”, “r”, stdin);
freopen(“CONOUT$”, “w”, stdout);
freopen(“CONOUT$”, “w”, stderr);
}
@
Result
A console for easy debugging
Isn’t this already implemented in the Lua version of the project?
I have not tried lua version.
The current setting should be inconsistent