mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-03 04:57:14 +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
|
else
|
||||||
begin
|
begin
|
||||||
Thread.PrepareCallStackEntryList(AStackFrame + 1);
|
Thread.PrepareCallStackEntryList(AStackFrame + 1);
|
||||||
|
if AStackFrame >= Thread.CallStackEntryList.Count then
|
||||||
|
exit;
|
||||||
Frame := Thread.CallStackEntryList[AStackFrame];
|
Frame := Thread.CallStackEntryList[AStackFrame];
|
||||||
if Frame = nil then
|
if Frame = nil then
|
||||||
exit;
|
exit;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user