FpDebug: Ensure update notification is sent after new stakc frames have been added.

This commit is contained in:
Martin 2022-09-10 17:58:53 +02:00
parent bc3222941a
commit 26b56b74f9

View File

@ -1686,7 +1686,9 @@ begin
e.Validity := ddsInvalid
else
begin
if IT.EOM or ((i and 7) = 0) then
if IT.EOM or ((i and 7) = 0) or
(e.Index = ACallstack.HighestUnknown)
then
WorkItem := TFpThreadWorkerCallEntryUpdate.Create(FpDebugger, t, e, ACallstack)
else
WorkItem := TFpThreadWorkerCallEntryUpdate.Create(FpDebugger, t, e);