1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Disallow function calls in conditional breakpoints

This commit is contained in:
Brian Fiete 2020-05-15 14:54:43 -07:00
parent e5f97bc618
commit cfc25003a0
2 changed files with 11 additions and 1 deletions

View file

@ -7937,6 +7937,11 @@ DbgTypedValue DbgExprEvaluator::Resolve(BfExpression* expr, DbgType* wantType)
SetAndRestoreValue<DbgType*> prevType(mExpectingType, wantType);
SetAndRestoreValue<DbgTypedValue> prevResult(mResult, DbgTypedValue());
if ((mExpressionFlags & DwEvalExpressionFlag_AllowCalls) != 0)
{
BF_ASSERT(mCallResults != NULL);
}
if (mExplicitThis)
mExplicitThis = FixThis(mExplicitThis);