From 18335859cc65db6417eea163a22da31375f43460 Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 21 Jun 2018 13:08:12 +0000 Subject: [PATCH] IDE, Debugger: detect if stackframes can be retrieved git-svn-id: trunk@58372 - --- ide/debugmanager.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ide/debugmanager.pas b/ide/debugmanager.pas index 0336706fb4..56103aef84 100644 --- a/ide/debugmanager.pas +++ b/ide/debugmanager.pas @@ -1325,6 +1325,8 @@ begin while (i < c) do begin StackEntry := CallStack.CurrentCallStackList.EntriesForThreads[TId].Entries[i]; + if StackEntry.Validity = ddsRequested then // not yet available + break; if StackEntry.Line > 0 then begin CurrentSourceUnitInfo := StackEntry.UnitInfo;