mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-06 01:06:01 +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: ;
|
||||
//skAddress: ;
|
||||
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');
|
||||
Result := True;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user