Switched to DebugSettings

This commit is contained in:
Yoshi Askharoun
2022-06-06 23:10:30 -05:00
parent c1fe12288c
commit 8cb0b9dfdf
5 changed files with 17 additions and 7 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ namespace Microsoft.Iris.Markup
byteCodeReader = context.LoadResult.ObjectSection;
num = (long)((ulong)byteCodeReader.CurrentOffset);
byteCodeReader.CurrentOffset = context.InitialBytecodeOffset;
if (InterpreterContext.UseDecompile)
if (Application.DebugSettings.UseDecompiler)
result = RunDecompile(context, byteCodeReader);
else
result = Run(context, byteCodeReader);
@@ -1561,7 +1561,7 @@ namespace Microsoft.Iris.Markup
}
CleanUpXmlDoc();
InterpreterContext.DecompileResults.Add(XmlDoc);
Application.DebugSettings.DecompileResults.Add(XmlDoc);
return result;
}