mirror of https://github.com/axmolengine/axmol.git
18a6d8241d
* Copyright use python script updated. might be fix by manual later * Revert "Copyright use python script updated. might be fix by manual later" This reverts commit 49e99418e4da1fd02afda448ddeb16210f5e8c71. * re modify copyright, consider utf-8-sig encoding * another situation, add Copyright before "Permission is hereby granted" * Revert "another situation, add Copyright before "Permission is hereby granted"" This reverts commit ee82591d32353c7ce2e146fe51ef447433b47571. * another situation, add Copyright before Permission is hereby granted * change "Copyright (c) 2016-2016 Chukong Technologies Inc." to " Copyright (c) 2016 Chukong Technologies Inc." * script modify copyright, consider is cocos copyright or not * change "Copyright (c) 2017 Chukong Technologies Inc." to "Copyright (c) 2016 Chukong Technologies Inc." * manual fix, not fix audio related * change "2016-2016" to "2016" |
||
---|---|---|
.. | ||
actors | ||
core | ||
webconsole | ||
DevToolsUtils.js | ||
README.md | ||
event-emitter.js | ||
main.js | ||
transport.js |
README.md
Remote Debugging By Using FireFox
Requirement
- Firefox: From v24
How To Use
Prepare
Please refer to https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging .
Enable Debugger Support For Your JSB Project
bool AppDelegate::applicationDidFinishLaunching()
{
...
ScriptingCore* sc = ScriptingCore::getInstance();
sc->addRegisterCallback(register_all_cocos2dx);
sc->addRegisterCallback(register_all_cocos2dx_extension);
sc->addRegisterCallback(register_cocos2dx_js_extensions);
sc->addRegisterCallback(jsb_register_chipmunk);
sc->addRegisterCallback(register_all_cocos2dx_extension_manual);
sc->addRegisterCallback(register_CCBuilderReader);
sc->addRegisterCallback(jsb_register_system);
sc->addRegisterCallback(JSB_register_opengl);
sc->start();
#if defined(COCOS2D_DEBUG) && (COCOS2D_DEBUG > 0)
sc->enableDebugger(); // Enable debugger here
#endif
...
}
Run your game.