mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Evaluation fixes while program is running
This commit is contained in:
parent
b9647d2a08
commit
a080d260ab
2 changed files with 6 additions and 2 deletions
|
@ -4022,7 +4022,7 @@ DbgTypedValue DbgExprEvaluator::LookupIdentifier(BfAstNode* identifierNode, bool
|
||||||
if (mStackSearch->mSearchStr != "*")
|
if (mStackSearch->mSearchStr != "*")
|
||||||
{
|
{
|
||||||
mDebugger->UpdateCallStackMethod(mCallStackIdx);
|
mDebugger->UpdateCallStackMethod(mCallStackIdx);
|
||||||
if (stackFrame->mSubProgram != NULL)
|
if ((stackFrame != NULL) && (stackFrame->mSubProgram != NULL))
|
||||||
{
|
{
|
||||||
int strLen = strlen(stackFrame->mSubProgram->mName);
|
int strLen = strlen(stackFrame->mSubProgram->mName);
|
||||||
if (strLen >= findStr.mLength)
|
if (strLen >= findStr.mLength)
|
||||||
|
|
|
@ -11035,7 +11035,11 @@ void WinDebugger::UpdateCallStack(bool slowEarlyOut)
|
||||||
if (!mIsPartialCallStack)
|
if (!mIsPartialCallStack)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
BF_ASSERT(!IsInRunState());
|
if (mActiveThread == NULL)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (IsInRunState())
|
||||||
|
return;
|
||||||
|
|
||||||
uint32 tickStart = BFTickCount();
|
uint32 tickStart = BFTickCount();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue