IDE, Debugger: detect if stackframes can be retrieved

git-svn-id: trunk@58372 -
This commit is contained in:
martin 2018-06-21 13:08:12 +00:00
parent d84affb76d
commit 18335859cc

View File

@ -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;