mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-22 14:19:14 +02:00
IDE: verbosity for invalid lpl files
git-svn-id: trunk@40278 -
This commit is contained in:
parent
51e06df26e
commit
847b95762b
@ -497,7 +497,10 @@ begin
|
||||
end;
|
||||
end;
|
||||
sl.Free;
|
||||
if LPKFilename='' then continue;
|
||||
if LPKFilename='' then begin
|
||||
debugln(['TPackageLinks.UpdateGlobalLinks lpl file has empty first line: ',LPLFilename]);
|
||||
continue;
|
||||
end;
|
||||
//debugln(['TPackageLinks.UpdateGlobalLinks NewFilename="',LPKFilename,'"']);
|
||||
|
||||
CurPkgLink:=TPackageLink.Create;
|
||||
@ -519,8 +522,14 @@ begin
|
||||
// ' MakeSense=',dbgs(CurPkgLink.MakeSense));
|
||||
if CurPkgLink.MakeSense then
|
||||
FGlobalLinks.Add(CurPkgLink)
|
||||
else
|
||||
else begin
|
||||
debugln('TPackageLinks.UpdateGlobalLinks Invalid lpl "',LPLFilename,'"'
|
||||
,' PkgName="',CurPkgLink.Name,'" '
|
||||
,' PkgVersion=',CurPkgLink.Version.AsString
|
||||
,' Filename="',CurPkgLink.LPKFilename,'"'
|
||||
,' MakeSense=',dbgs(CurPkgLink.MakeSense));
|
||||
CurPkgLink.Release;
|
||||
end;
|
||||
end;
|
||||
//WriteLinkTree(FGlobalLinks);
|
||||
finally
|
||||
|
Loading…
Reference in New Issue
Block a user