mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 12:00:42 +02:00
debugger: fill TDBGType.Value.AsString for Variant data type
git-svn-id: trunk@23004 -
This commit is contained in:
parent
992c4e1f24
commit
12a6edefa1
@ -2008,6 +2008,9 @@ function TGDBMIDebugger.GDBEvaluate(const AExpression: String; var AResult: Stri
|
||||
GetPart('','{',ValData);
|
||||
PutValuesInTypeRecord(ATypeInfo,ValData);
|
||||
end;
|
||||
skVariant: begin
|
||||
ATypeInfo.Value.AsString:=ValData;
|
||||
end;
|
||||
// skEnum: ;
|
||||
// skSet: ;
|
||||
skSimple: begin
|
||||
|
@ -136,7 +136,7 @@ begin
|
||||
GridDataSetup;
|
||||
FGridData.Cells[0,1]:=FExpression;
|
||||
FGridData.Cells[1,1]:='Variant';
|
||||
FGridData.Cells[2,1]:=FHumanReadable;
|
||||
FGridData.Cells[2,1]:=FDBGInfo.Value.AsString;
|
||||
FGridData.AutoSizeColumn(1);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user