Debugger: Enable writing #0 to XML for history.

This commit is contained in:
Martin 2023-03-24 10:19:10 +01:00
parent e00f5fc24e
commit 5a1e3a67d0

View File

@ -41,7 +41,7 @@ uses
TypInfo, Classes, SysUtils, math, Types, fgl,
// LazUtils
Laz2_XMLCfg, LazFileUtils, LazStringUtils, LazUtilities, LazLoggerBase,
LazClasses, Maps, LazMethodList,
LazClasses, Maps, LazMethodList, laz2_XMLWrite,
// DebuggerIntf
DbgIntfBaseTypes, DbgIntfMiscClasses, DbgIntfDebuggerBase, LazDebuggerIntf,
LazDebuggerIntfBaseTypes, LazDebuggerValueConverter, LazDebuggerTemplate,
@ -2781,7 +2781,7 @@ var
begin
XmlConf := TXMLConfig.CreateClean('');
XmlConf.Clear;
XmlConf.WriteFlags := [];
XmlConf.WriteFlags := [xwfAllowNullCharsInAttributeValue];
SaveDataToXMLConfig(XmlConf, 'History/');
s := TStringStream.Create('');
XmlConf.WriteToStream(s);