mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-27 03:07:17 +01: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);
|
GetPart('','{',ValData);
|
||||||
PutValuesInTypeRecord(ATypeInfo,ValData);
|
PutValuesInTypeRecord(ATypeInfo,ValData);
|
||||||
end;
|
end;
|
||||||
|
skVariant: begin
|
||||||
|
ATypeInfo.Value.AsString:=ValData;
|
||||||
|
end;
|
||||||
// skEnum: ;
|
// skEnum: ;
|
||||||
// skSet: ;
|
// skSet: ;
|
||||||
skSimple: begin
|
skSimple: begin
|
||||||
|
|||||||
@ -136,7 +136,7 @@ begin
|
|||||||
GridDataSetup;
|
GridDataSetup;
|
||||||
FGridData.Cells[0,1]:=FExpression;
|
FGridData.Cells[0,1]:=FExpression;
|
||||||
FGridData.Cells[1,1]:='Variant';
|
FGridData.Cells[1,1]:='Variant';
|
||||||
FGridData.Cells[2,1]:=FHumanReadable;
|
FGridData.Cells[2,1]:=FDBGInfo.Value.AsString;
|
||||||
FGridData.AutoSizeColumn(1);
|
FGridData.AutoSizeColumn(1);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user