mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 09:09:32 +02:00
FpDebug: fix crash in stack after "watch eval" call. Don't clear stack data.
This commit is contained in:
parent
126dd815cd
commit
0bdae9fa28
@ -1711,7 +1711,10 @@ begin
|
||||
if MaybeDetach then
|
||||
exit;
|
||||
|
||||
FCurrentProcess.ThreadsClearCallStack;
|
||||
// Do not clear callstack of threads: TDbgControllerCallRoutineCmd is considered remaining in pause.
|
||||
// TODO: if the IP of another thread changes, send notifications
|
||||
if (FCommand = nil) or not (FCommand is TDbgControllerCallRoutineCmd) then
|
||||
FCurrentProcess.ThreadsClearCallStack;
|
||||
|
||||
if Assigned(FOnThreadBeforeProcessLoop) then
|
||||
FOnThreadBeforeProcessLoop(Self);
|
||||
|
Loading…
Reference in New Issue
Block a user