enable debug for iOS / Android platform

This commit is contained in:
yinjimmy 2015-01-12 22:59:46 +08:00
parent e700d47dbd
commit 43c4f563d8
1 changed files with 2 additions and 1 deletions

View File

@ -226,9 +226,10 @@ void RuntimeEngine::startScript(const std::string &args)
void RuntimeEngine::start()
{
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WIN32 || CC_TARGET_PLATFORM != CC_PLATFORM_MAC)
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WIN32) && (CC_TARGET_PLATFORM != CC_PLATFORM_MAC)
_project.setDebuggerType(kCCRuntimeDebuggerCodeIDE);
#endif
// set search path
string path = FileUtils::getInstance()->fullPathForFilename(_project.getScriptFileRealPath().c_str());
size_t pos;