mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 14:29:29 +02:00
LazDebuggerFpLldb: prevent crash in asm window, if dwarf info failed to load
git-svn-id: trunk@60926 -
This commit is contained in:
parent
ecbb270afa
commit
79a26a4231
@ -1092,7 +1092,9 @@ var
|
||||
cmd: TFpLldbDebuggerCommandDisassemble;
|
||||
begin
|
||||
Result := False;
|
||||
if (Debugger = nil) or not(Debugger.State = dsPause) or FIsDisassembling then
|
||||
if (Debugger = nil) or not(Debugger.State = dsPause) or FIsDisassembling or
|
||||
(TFpLldbDebugger(Debugger).FDwarfInfo = nil)
|
||||
then
|
||||
exit;
|
||||
FIsDisassembling := True;
|
||||
cmd := TFpLldbDebuggerCommandDisassemble.Create(self, AnAddr, ALinesBefore, ALinesAfter);
|
||||
|
Loading…
Reference in New Issue
Block a user