From 41fb94f1f8f0ba7848ec3985248d7a8128d33965 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Mon, 3 Aug 2020 05:45:38 -0700 Subject: [PATCH] Fixed bitset bools for conditional breakpoints --- IDEHelper/WinDebugger.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IDEHelper/WinDebugger.cpp b/IDEHelper/WinDebugger.cpp index de629005..dffb180e 100644 --- a/IDEHelper/WinDebugger.cpp +++ b/IDEHelper/WinDebugger.cpp @@ -3803,6 +3803,9 @@ bool WinDebugger::CheckConditionalBreakpoint(WdBreakpoint* breakpoint, DbgSubpro mCallStack.Add(wdStackFrame); DbgTypedValue result = conditional->mDbgEvaluationContext->EvaluateInContext(DbgTypedValue()); ClearCallStack(); + + if ((result.mType != NULL) && (result.mType->mTypeCode == DbgType_Bitfield)) + result.mType = result.mType->mTypeParam; if (conditional->mDbgEvaluationContext->mPassInstance->HasFailed()) {