mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 14:39:13 +02:00
Debugger: assembler, fix rangecheck or wrong behaviour if debugger is nil
This commit is contained in:
parent
ec9335ef59
commit
073f3095cf
@ -949,7 +949,7 @@ begin
|
|||||||
actCurrentInstr.Enabled := HasDisassembler and (FLocation <> 0);
|
actCurrentInstr.Enabled := HasDisassembler and (FLocation <> 0);
|
||||||
actGotoAddr.Enabled := HasDisassembler and (StrToQWordDef(EditGotoAddr.Text, 0) <> 0);
|
actGotoAddr.Enabled := HasDisassembler and (StrToQWordDef(EditGotoAddr.Text, 0) <> 0);
|
||||||
actCopy.Enabled := HasDisassembler;
|
actCopy.Enabled := HasDisassembler;
|
||||||
popCopyAddr.Enabled := GetLinMapEntryForLine(FSelectLine, dummy);
|
popCopyAddr.Enabled := HasDisassembler and GetLinMapEntryForLine(FSelectLine, dummy);
|
||||||
actStepOverInstr.Enabled := HasDisassembler;
|
actStepOverInstr.Enabled := HasDisassembler;
|
||||||
actStepIntoInstr.Enabled := HasDisassembler;
|
actStepIntoInstr.Enabled := HasDisassembler;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user