mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 21:09:27 +02:00
FpDebug: Improve Stack after calling TProc(nil) / Call to code not in apps memory
This commit is contained in:
parent
dce19de110
commit
6993390bab
@ -2977,7 +2977,7 @@ begin
|
||||
if Process.Disassembler.LastErrorWasMemReadErr then begin
|
||||
inc(CodeReadErrCnt);
|
||||
if CodeReadErrCnt > 5 then break; // If the code cannot be read the stack pointer is wrong.
|
||||
if NextIdx = 0 then
|
||||
if NextIdx <= 1 then
|
||||
OutSideFrame := True; // Maybe after "TProc(nil)();" call, then no frame could have been set up
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user