From 554816841841598cae9bf1dff5f870b6270f95b1 Mon Sep 17 00:00:00 2001 From: YangSn Date: Thu, 8 Oct 2026 10:38:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:debug=E7=BB=93=E6=9E=84=E4=BD=93=E4=B8=AD?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0crash=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AppUtils/AppConfig/Src/ConfigXmlUtils.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AppUtils/AppConfig/Src/ConfigXmlUtils.cpp b/AppUtils/AppConfig/Src/ConfigXmlUtils.cpp index 62d95965..4d6bf106 100644 --- a/AppUtils/AppConfig/Src/ConfigXmlUtils.cpp +++ b/AppUtils/AppConfig/Src/ConfigXmlUtils.cpp @@ -266,6 +266,10 @@ void LoadDebugParam(XMLElement* root, VrDebugParam& param) param.saveDebugImage = debugElement->BoolAttribute("saveDebugImage"); if (debugElement->Attribute("printDetailLog")) param.printDetailLog = debugElement->BoolAttribute("printDetailLog"); + if (debugElement->Attribute("crash")) + { + param.crash = debugElement->BoolAttribute("crash"); + } if (debugElement->Attribute("debugOutputPath")) param.debugOutputPath = debugElement->Attribute("debugOutputPath"); } @@ -277,6 +281,7 @@ void SaveDebugParam(XMLDocument& doc, XMLElement* root, const VrDebugParam& para debugElement->SetAttribute("savePointCloud", param.savePointCloud); debugElement->SetAttribute("saveDebugImage", param.saveDebugImage); debugElement->SetAttribute("printDetailLog", param.printDetailLog); + debugElement->SetAttribute("crash", param.crash); debugElement->SetAttribute("debugOutputPath", param.debugOutputPath.c_str()); root->InsertEndChild(debugElement); }