1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fixed bitset bools for conditional breakpoints

This commit is contained in:
Brian Fiete 2020-08-03 05:45:38 -07:00
parent bdc6a17f79
commit 41fb94f1f8

View file

@ -3803,6 +3803,9 @@ bool WinDebugger::CheckConditionalBreakpoint(WdBreakpoint* breakpoint, DbgSubpro
mCallStack.Add(wdStackFrame); mCallStack.Add(wdStackFrame);
DbgTypedValue result = conditional->mDbgEvaluationContext->EvaluateInContext(DbgTypedValue()); DbgTypedValue result = conditional->mDbgEvaluationContext->EvaluateInContext(DbgTypedValue());
ClearCallStack(); ClearCallStack();
if ((result.mType != NULL) && (result.mType->mTypeCode == DbgType_Bitfield))
result.mType = result.mType->mTypeParam;
if (conditional->mDbgEvaluationContext->mPassInstance->HasFailed()) if (conditional->mDbgEvaluationContext->mPassInstance->HasFailed())
{ {