diff --git a/IDEHelper/Backend/BeMCContext.cpp b/IDEHelper/Backend/BeMCContext.cpp index 1a3e4fac..389645e2 100644 --- a/IDEHelper/Backend/BeMCContext.cpp +++ b/IDEHelper/Backend/BeMCContext.cpp @@ -2329,7 +2329,13 @@ BeMCOperand BeMCContext::GetOperand(BeValue* value, bool allowMetaResult, bool a //auto itr = mValueToOperand.find(value); if (!allowFail) { - BF_ASSERT(operandPtr != NULL); + if (operandPtr == NULL) + { + BeDumpContext dumpCtx; + String str; + dumpCtx.ToString(str, value); + Fail(StrFormat("Unable to find bevalue for operand: %s", str.c_str())); + } } if (operandPtr == NULL) {