From 135655e435df3808fa1a90b2fc8df1d33a089af6 Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 3 May 2018 19:37:19 +0000 Subject: [PATCH] fpdebug: fix crash on linux git-svn-id: trunk@57784 - --- components/lazdebuggers/lazdebuggerfp/fpdebugdebugger.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/components/lazdebuggers/lazdebuggerfp/fpdebugdebugger.pas b/components/lazdebuggers/lazdebuggerfp/fpdebugdebugger.pas index faedc17a90..9a866fd052 100644 --- a/components/lazdebuggers/lazdebuggerfp/fpdebugdebugger.pas +++ b/components/lazdebuggers/lazdebuggerfp/fpdebugdebugger.pas @@ -1813,6 +1813,7 @@ procedure TFpDebugDebugger.FreeBreakpoint( const ABreakpoint: TFpInternalBreakpoint); begin {$ifdef linux} + if ABreakpoint = nil then exit; FCacheBreakpoint:=ABreakpoint; ExecuteInDebugThread(@DoFreeBreakpoint); {$else linux}