FpDebug: Fix a crash / endless recursion, if a symbol (watch) is not found while in a finally block.

git-svn-id: trunk@62309 -
This commit is contained in:
martin 2019-11-28 02:30:01 +00:00
parent 6e2e1b018f
commit 98cc84231b

View File

@ -496,7 +496,8 @@ begin
end;
if (par_fp <> cur_fp) or (cur_fp = 0) or
not MemManager.ReadRegister(RegPc, pc, SearchCtx)
(i <= 0) or
not MemManager.ReadRegister(RegPc, pc, SearchCtx)
then begin
FOuterNotFound := True;
SearchCtx.ReleaseReference;