mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 00:09:26 +02:00
LazDebuggerFpLldb: prevent crash in asm window, if dwarf info failed to load
git-svn-id: branches/fixes_2_0@60937 -
This commit is contained in:
parent
f1a7b48223
commit
21071b34d1
@ -1102,7 +1102,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