mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Additional debug information during crash
This commit is contained in:
parent
037b2ac1e4
commit
1fc64a1690
1 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue