mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 12:40:33 +02:00
LazDebuggerFp: Fixed step-out over finally. Do not stop in finally block.
(cherry picked from commit 480b0fd02d
)
This commit is contained in:
parent
7ddcb99119
commit
b2129c5faa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user