LazDebugFp, FpDebug: TestAssert does not set exception frame. Adjust for line before return address

git-svn-id: trunk@63537 -
This commit is contained in:
martin 2020-07-09 14:28:08 +00:00
parent 12b4254803
commit d4275fa7e4

View File

@ -3742,6 +3742,10 @@ begin
Result := CList[f].AnAddress - 1;
end;
end;
end
else
if (ABasePtr = 0) and (CurAddr <> 0) and (f > 0) then begin
Result := CurAddr - 1; // found address on stack, so this is return address
end;
if f > 0 then begin