From 2a0f9efa65869f9ae64f1f5782c50998d31baa22 Mon Sep 17 00:00:00 2001 From: nikitalita <69168929+nikitalita@users.noreply.github.com> Date: Thu, 21 Dec 2023 15:02:19 -0800 Subject: [PATCH] Fix missing s32 format specifier support (#1431) Fix s32 format specifier support --- src/MIDebugEngine/Engine.Impl/Variables.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/MIDebugEngine/Engine.Impl/Variables.cs b/src/MIDebugEngine/Engine.Impl/Variables.cs index 32e6b78b7..8c297998f 100644 --- a/src/MIDebugEngine/Engine.Impl/Variables.cs +++ b/src/MIDebugEngine/Engine.Impl/Variables.cs @@ -425,6 +425,9 @@ private string ProcessFormatSpecifiers(string exp, out string formatSpecifier) case "su": case "sub": return "(const char16_t*)(" + exp.Substring(0, lastComma) + ")"; + case "s32": + case "s32b": + return "(const char32_t*)(" + exp.Substring(0, lastComma) + ")"; case "c": return "(char)(" + exp.Substring(0, lastComma) + ")"; // just remove and ignore these