mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 11:59:23 +02:00
IDE, Debugger: detect if stackframes can be retrieved
git-svn-id: trunk@58372 -
This commit is contained in:
parent
d84affb76d
commit
18335859cc
@ -1325,6 +1325,8 @@ begin
|
|||||||
while (i < c) do
|
while (i < c) do
|
||||||
begin
|
begin
|
||||||
StackEntry := CallStack.CurrentCallStackList.EntriesForThreads[TId].Entries[i];
|
StackEntry := CallStack.CurrentCallStackList.EntriesForThreads[TId].Entries[i];
|
||||||
|
if StackEntry.Validity = ddsRequested then // not yet available
|
||||||
|
break;
|
||||||
if StackEntry.Line > 0
|
if StackEntry.Line > 0
|
||||||
then begin
|
then begin
|
||||||
CurrentSourceUnitInfo := StackEntry.UnitInfo;
|
CurrentSourceUnitInfo := StackEntry.UnitInfo;
|
||||||
|
Loading…
Reference in New Issue
Block a user