mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-28 01:29:12 +02:00
FpGDBMIDbg: Check nil
git-svn-id: trunk@42853 -
This commit is contained in:
parent
09865a59b5
commit
ec8e38b981
@ -128,6 +128,8 @@ end;
|
||||
|
||||
procedure TFpGDBMILineInfo.Request(const ASource: String);
|
||||
begin
|
||||
if not FpDebugger.HasDwarf then
|
||||
exit;
|
||||
FRequestedSources.AddObject(ASource, FpDebugger.FDwarfInfo.GetLineAddressMap(ASource));
|
||||
DoChange(ASource);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user