Skip to content

Commit

Permalink
add further debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
rmottola committed Nov 21, 2023
1 parent a01afe2 commit d22abee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/NSBundle.m
Original file line number Diff line number Diff line change
Expand Up @@ -1576,6 +1576,7 @@ + (NSBundle *) bundleForClass: (Class)aClass
* and return the mainBundle instead.
*/
bundle = [NSBundle bundleForLibrary: lib];
NSDebugLLog(@"NSBundle", @"NSBundle bundleForClass: looking up %@ in bundle %@", lib, bundle);
if (nil == bundle && [[self _addFrameworks] count] > 0)
{
bundle = (NSBundle *)NSMapGet(_byClass, aClass);
Expand Down

0 comments on commit d22abee

Please sign in to comment.