mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 03:37:54 +02:00
LazDebuggerFp: fix getting full Callstack.Count - Issue #39886
(cherry picked from commit 61e5fb272a
)
This commit is contained in:
parent
289e8b9397
commit
9f70423e35
@ -547,7 +547,8 @@ begin
|
||||
FDebugger.FLockList.GetLockFor(ThreadCallStack);
|
||||
try
|
||||
CurCnt := ThreadCallStack.Count;
|
||||
while (not StopRequested) and (FRequiredMinCount > CurCnt) and
|
||||
while (not StopRequested) and
|
||||
( (FRequiredMinCount > CurCnt) or (FRequiredMinCount < 0) ) and
|
||||
(not ThreadCallStack.HasReadAllAvailableFrames)
|
||||
do begin
|
||||
ReqCnt := Min(CurCnt + 5, FRequiredMinCount);
|
||||
|
Loading…
Reference in New Issue
Block a user