mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-27 11:50:26 +02:00
debugger: initialized loop var (noticed by Yuri)
git-svn-id: trunk@11296 -
This commit is contained in:
parent
2a4f00b5ec
commit
1c6e5c3ba5
@ -2643,6 +2643,7 @@ begin
|
||||
Trying to find out how many...
|
||||
We try maximum 40 frames, because sometimes a corrupt stack and a bug in
|
||||
gdb may cooperate, so that -stack-info-depth X returns always X }
|
||||
i:=0;
|
||||
repeat
|
||||
inc(i);
|
||||
TGDBMIDebugger(Debugger).ExecuteCommand('-stack-info-depth ' + IntToStr(i),
|
||||
|
Loading…
Reference in New Issue
Block a user