mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 10:21:23 +02:00
fpdebug: fix crash on pause (missing callstack)
git-svn-id: trunk@49099 -
This commit is contained in:
parent
e5cdee3012
commit
eb15eb559f
@ -426,6 +426,8 @@ begin
|
|||||||
end;
|
end;
|
||||||
TFpDebugDebugger(Debugger).PrepareCallStackEntryList;
|
TFpDebugDebugger(Debugger).PrepareCallStackEntryList;
|
||||||
ThreadCallStack := TFpDebugDebugger(Debugger).FDbgController.CurrentProcess.MainThread.CallStackEntryList;
|
ThreadCallStack := TFpDebugDebugger(Debugger).FDbgController.CurrentProcess.MainThread.CallStackEntryList;
|
||||||
|
if ThreadCallStack = nil then
|
||||||
|
exit;
|
||||||
|
|
||||||
if ThreadCallStack.Count = 0 then
|
if ThreadCallStack.Count = 0 then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user