mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 12:38:16 +02:00
Debugger: keep register-names in register window, while debugger is running (show <unavailable>). This way scroll pos is preserved. Issue #0032654
git-svn-id: trunk@60049 -
This commit is contained in:
parent
f737797457
commit
52e85d555e
@ -396,8 +396,14 @@ begin
|
||||
FNeedUpdateAgain := False;
|
||||
|
||||
Reg := GetCurrentRegisters;
|
||||
if Reg = nil then begin
|
||||
lvRegisters.Items.Clear;
|
||||
if (Reg = nil) or (reg.DataValidity<> ddsValid) then begin
|
||||
if (DebugBoss.Debugger = nil) or not (DebugBoss.Debugger.State in [dsPause, dsInternalPause, dsRun]) then
|
||||
lvRegisters.Items.Clear;
|
||||
|
||||
if (reg <> nil) then
|
||||
reg.Count;
|
||||
for n := 0 to lvRegisters.Items.Count - 1 do
|
||||
lvRegisters.Items[n].SubItems[0] := '<Unavailable>';
|
||||
exit;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user