LazDebuggerFp (pure): do not crash with -gtt

git-svn-id: trunk@44634 -
This commit is contained in:
martin 2014-04-07 16:49:40 +00:00
parent ae8c35b16e
commit f3e4622b30

View File

@ -536,6 +536,7 @@ function TDbgProcess.GetThread(const AID: Integer; out AThread: TDbgThread): Boo
var
Thread: TDbgThread;
begin
AThread := nil;
Result := FThreadMap.GetData(AID, Thread) and (Thread <> nil);
if Result
then AThread := Thread