Debugger, Callstack: Do not display 0x0000 for frames not yet evaluated (leave blank instead).

This commit is contained in:
Martin 2021-11-29 12:21:55 +01:00
parent 28984a7cdf
commit 5ec6966dc7

View File

@ -356,11 +356,17 @@ begin
begin
Item := lvCallStack.Items[n];
Entry := CStack.Entries[First + n];
if Entry = nil
if (Entry = nil) or (Entry.Validity <> ddsValid)
then begin
Item.Caption := '';
Item.ImageIndex := imgNoSourceLine;
Item.SubItems[0] := '????';
if Entry = nil then begin
Item.ImageIndex := imgNoSourceLine;
Item.SubItems[0] := '????';
end
else begin
Item.ImageIndex := -1;
Item.SubItems[0] := '';
end;
Item.SubItems[1] := '';
Item.SubItems[2] := '';
Item.SubItems[3] := '';