D:\project\client\muguaji\frameworks\cocos2d-x\tools\simulator\libsimulator\lib\runtime\ConsoleCommand.cpp
rapidjson::Value bodyvalue(rapidjson::kObjectType);
rapidjson::Document* filecfgjson = _fileserver->getFileCfgJson();for (auto it = filecfgjson->MemberonBegin(); it != filecfgjson->MemberonEnd(); ++it)
{
//bodyvalue.AddMember(it->name.GetString(), it->value.GetString(), dReplyParse.GetAllocator());//注释这一句bug cause lang and shutdownapp 当资源太多的时候ide通信超时直接发起shutdownapp命令,导致onStartDebuger没有被调用,所以没有启动lua调试器
}
dReplyParse.AddMember("body", bodyvalue, dReplyParse.GetAllocator());
dReplyParse.AddMember("code", 0, dReplyParse.GetAllocator());
正常的交互命令应该是这样
onSendCommand是代码中打印的log
Console: l