mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 20:49:30 +02:00
LazDebuggerFp: fixed a nil deref, DefaultContext needs CurrentThread
This commit is contained in:
parent
d5d01deed4
commit
217459a76f
@ -2435,10 +2435,11 @@ begin
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
FDebugger.FDbgController.DefaultContext; // Make sure it is avail and cached / so it can be called outside the thread
|
||||
|
||||
if CurrentThread = nil then
|
||||
exit;
|
||||
|
||||
FDebugger.FDbgController.DefaultContext; // Make sure it is avail and cached / so it can be called outside the thread
|
||||
if (FState = esSteppingFpcSpecialHandler) and AnIsFinished and
|
||||
(ACurCommand is TDbgControllerStepThroughFpcSpecialHandler)
|
||||
then begin
|
||||
|
Loading…
Reference in New Issue
Block a user