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

Evaluation fixes while program is running

This commit is contained in:
Brian Fiete 2023-01-23 06:56:54 -05:00
parent b9647d2a08
commit a080d260ab
2 changed files with 6 additions and 2 deletions

View file

@ -4022,7 +4022,7 @@ DbgTypedValue DbgExprEvaluator::LookupIdentifier(BfAstNode* identifierNode, bool
if (mStackSearch->mSearchStr != "*")
{
mDebugger->UpdateCallStackMethod(mCallStackIdx);
if (stackFrame->mSubProgram != NULL)
if ((stackFrame != NULL) && (stackFrame->mSubProgram != NULL))
{
int strLen = strlen(stackFrame->mSubProgram->mName);
if (strLen >= findStr.mLength)