mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 04:09:30 +02:00
Debugger: keep type-name when changing result to error.
This commit is contained in:
parent
8494ca68fb
commit
ce5e45acc2
@ -3845,6 +3845,8 @@ begin
|
||||
FNewResultData := TWatchResultDataError.Create(AVal)
|
||||
else
|
||||
TWatchResultDataError(FNewResultData).Create(AVal);
|
||||
if FStoredResultData <> nil then
|
||||
FNewResultData.SetTypeName(FStoredResultData.TypeName);
|
||||
AfterDataCreated;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user