LazDebuggerFp: Fixed step-out over finally. Do not stop in finally block.

(cherry picked from commit 480b0fd02d)
This commit is contained in:
Martin 2021-12-06 16:03:20 +01:00
parent 7ddcb99119
commit b2129c5faa

View File

@ -2559,7 +2559,8 @@ begin
R8 := CurrentThread.RegisterValueList.FindRegisterByDwarfIndex(8).NumValue;
if (not CurrentProcess.ReadAddress(R8 + 160, Base)) or (Base = 0) then // RPB at finally
exit;
if (FState = esIgnoredRaise) and
if ( (FState = esIgnoredRaise) or (ACurCommand is TDbgControllerLineStepBaseCmd) ) and
not CheckCommandFinishesInFrame(Base)
then
exit;