mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 02:58:05 +02:00
FpDebug: Improve the display of types (in watches) for structure-types in pointer to struct. Issue #40882
This commit is contained in:
parent
05030d7c88
commit
1c6efc9edc
@ -287,8 +287,10 @@ var
|
||||
while (i < c) and Result do begin
|
||||
m := ADbgSymbol.NestedSymbol[i];
|
||||
AddVisibility(m.MemberVisibility, i= 0);
|
||||
if tdfStopAfterPointer in ANewFlags then
|
||||
r := GetTypeName(s, m)
|
||||
if tdfStopAfterPointer in ANewFlags then begin
|
||||
r := GetTypeName(s, m);
|
||||
s := m.Name + ': ' + s;
|
||||
end
|
||||
else
|
||||
r := GetTypeAsDeclaration(s, m, [tdfIncludeVarName, tdfStopAfterPointer] + ANewFlags, AnIndent + 4);
|
||||
if r then
|
||||
|
Loading…
Reference in New Issue
Block a user