FpDebug: Check stackframe for FindContext in range / out of index

git-svn-id: trunk@61985 -
This commit is contained in:
martin 2019-10-05 11:09:40 +00:00
parent 3cb743cac0
commit 9b5b0c8db2

View File

@ -1219,6 +1219,8 @@ begin
else
begin
Thread.PrepareCallStackEntryList(AStackFrame + 1);
if AStackFrame >= Thread.CallStackEntryList.Count then
exit;
Frame := Thread.CallStackEntryList[AStackFrame];
if Frame = nil then
exit;