mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-03 00:17:18 +01:00
FpDebug: Check stackframe for FindContext in range / out of index
git-svn-id: trunk@61985 -
This commit is contained in:
parent
3cb743cac0
commit
9b5b0c8db2
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user