Add new, more robust Breakpoint struct

This commit is contained in:
Yoshi Askharoun
2023-05-23 20:28:19 -05:00
parent a7fea61af6
commit 1b26ce4d5f
3 changed files with 32 additions and 3 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ namespace Microsoft.Iris.Markup
byteCodeReader = context.LoadResult.ObjectSection;
num = (long)(ulong)byteCodeReader.CurrentOffset;
byteCodeReader.CurrentOffset = context.InitialBytecodeOffset;
if (Application.DebugSettings.UseDecompiler || Application.DebugSettings.Breakpoints.Contains(context.ToString()))
if (Application.DebugSettings.UseDecompiler)
result = RunDecompile(context, byteCodeReader);
else
result = Run(context, byteCodeReader);