mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 11:09:22 +02:00
IDE: DebugLn in TProject.UnitWithComponentClassName. For debugging issue #39488.
This commit is contained in:
parent
05382f4ddf
commit
889f82bb4d
@ -5551,9 +5551,11 @@ end;
|
|||||||
function TProject.UnitWithComponentClassName(const AClassName: string): TUnitInfo;
|
function TProject.UnitWithComponentClassName(const AClassName: string): TUnitInfo;
|
||||||
begin
|
begin
|
||||||
Result := fFirst[uilWithComponent];
|
Result := fFirst[uilWithComponent];
|
||||||
while (Result<>nil)
|
while (Result<>nil) and (CompareText(Result.Component.ClassName, AClassName)<>0) do
|
||||||
and (SysUtils.CompareText(Result.Component.ClassName, AClassName) <> 0) do
|
begin
|
||||||
|
DebugLn('TProject.UnitWithComponentClassName: ', Result.Component.ClassName);
|
||||||
Result := Result.fNext[uilWithComponent];
|
Result := Result.fNext[uilWithComponent];
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TProject.UnitWithComponentName(AComponentName: String;
|
function TProject.UnitWithComponentName(AComponentName: String;
|
||||||
|
Loading…
Reference in New Issue
Block a user