mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 06:19:47 +02:00
Debugger, Callstack: Do not display 0x0000 for frames not yet evaluated (leave blank instead).
This commit is contained in:
parent
28984a7cdf
commit
5ec6966dc7
@ -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] := '';
|
||||
|
Loading…
Reference in New Issue
Block a user