mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 07:29:25 +02:00
LazDebuggerFp (pure): do not crash with -gtt
git-svn-id: trunk@44634 -
This commit is contained in:
parent
ae8c35b16e
commit
f3e4622b30
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user