mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 14:16:25 +02:00
FpDebug: fix handling errors in watch result. In case of error an incorrect data type may be given. WatchResData would not be set (not to value, nor error). Issue #41646
(cherry picked from commit 0dfc1da04c
)
This commit is contained in:
parent
90cfc9ed17
commit
c067bd336e
@ -886,7 +886,7 @@ begin
|
|||||||
//skRegister: ;
|
//skRegister: ;
|
||||||
//skAddress: ;
|
//skAddress: ;
|
||||||
else begin
|
else begin
|
||||||
if IsError(AnFpValue.LastError) then // will be handled after the case
|
if not IsError(AnFpValue.LastError) then // will be handled after the case
|
||||||
AnResData.CreateError('Unknown data');
|
AnResData.CreateError('Unknown data');
|
||||||
Result := True;
|
Result := True;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user