fpdebug: fix crash on pause (missing callstack)

git-svn-id: trunk@49099 -
This commit is contained in:
martin 2015-05-18 22:52:38 +00:00
parent e5cdee3012
commit eb15eb559f

View File

@ -426,6 +426,8 @@ begin
end;
TFpDebugDebugger(Debugger).PrepareCallStackEntryList;
ThreadCallStack := TFpDebugDebugger(Debugger).FDbgController.CurrentProcess.MainThread.CallStackEntryList;
if ThreadCallStack = nil then
exit;
if ThreadCallStack.Count = 0 then
begin