LazDebuggerFp: Fix context for evaluate on none existing stackframe

git-svn-id: trunk@60357 -
This commit is contained in:
martin 2019-02-07 17:39:06 +00:00
parent e838d16727
commit 616069b6b2

View File

@ -1599,6 +1599,8 @@ begin
if StackFrame > 0 then begin
PrepareCallStackEntryList(StackFrame+1);
if FDbgController.CurrentThread.CallStackEntryList.Count <= StackFrame then
exit;
AFrame := FDbgController.CurrentThread.CallStackEntryList[StackFrame];
if AFrame = nil then
exit;