mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 13:40:23 +02:00
LazDebuggerFp: fix getting full Callstack.Count - Issue #39886
This commit is contained in:
parent
f63ba9cd3b
commit
61e5fb272a
@ -548,7 +548,8 @@ begin
|
||||
FDebugger.LockList.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