FpDebug: prevent debugger thread from crashing / prevent IDE hang, waiting for crashed thread.

git-svn-id: trunk@63064 -
This commit is contained in:
martin 2020-04-24 20:08:16 +00:00
parent fb73a010b2
commit 1cc3be175c

View File

@ -1693,9 +1693,11 @@ begin
begin
try
FAsyncMethod();
finally
RTLeventSetEvent(FDebugLoopStoppedEvent);
except
on E: Exception do
debugln(['FATAL: ',e.Message]);
end;
RTLeventSetEvent(FDebugLoopStoppedEvent);
end
else
begin