Debugger: Fix evaluate dialog. Respect length of array. Broken since bca093c6ec "Debugger: redesign Inspect and Evaluate-Modify windows"

This commit is contained in:
Martin 2022-09-05 16:06:47 +02:00
parent 7a4e58e4d3
commit 715d70dc38

View File

@ -846,7 +846,9 @@ begin
AWatch.EvaluateFlags := Opts;
AWatch.DbgBackendConverter := Conv;
AWatch.Enabled := True;
AWatch.RepeatCount := ArrayNavigationBar1.PageSize;
AWatch.RepeatCount := 0;
if ArrayNavigationBar1.Visible then
AWatch.RepeatCount := ArrayNavigationBar1.PageSize;
FInspectWatches.EndUpdate;
FCurrentWatchValue := AWatch.Values[tid, idx];
if FCurrentWatchValue <> nil then begin