mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 23:01:13 +02:00
FpDebug: deal with parentfp for nested procs
git-svn-id: trunk@44642 -
This commit is contained in:
parent
3c56c419a5
commit
b0e9f959f6
@ -96,6 +96,8 @@ begin
|
||||
|
||||
if FOuterNestContext <> nil then begin
|
||||
ADbgValue := FOuterNestContext.FindSymbol(AName); // TODO: pass upper/lower
|
||||
if ADbgValue <> nil then
|
||||
AddRefToVal(ADbgValue);
|
||||
Result := True; // self, global was done by outer
|
||||
exit;
|
||||
end;
|
||||
@ -154,6 +156,8 @@ begin
|
||||
FOuterNestContext := Dwarf.FindContext(ThreadId, i, pc);
|
||||
|
||||
ADbgValue := FOuterNestContext.FindSymbol(AName); // TODO: pass upper/lower
|
||||
if ADbgValue <> nil then
|
||||
AddRefToVal(ADbgValue);
|
||||
Result := True; // self, global was done by outer
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user