Added new debugging macros.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3897 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-03-11 11:07:21 +00:00
parent fb41cc45d4
commit 6d55a1db69
4 changed files with 176 additions and 82 deletions

View file

@ -294,7 +294,7 @@ _bundle_load_callback(Class theClass, Category *theCategory)
if ([s hasSuffix: @"_obj"])
path = [path stringByDeletingLastPathComponent];
NSDebugLLog(@"NSBundle", @"(NSBundle): Found main in %@\n", path);
NSDebugMLLog(@"NSBundle", @"Found main in %@\n", path);
/* We do alloc and init separately so initWithPath: knows
we are the _mainBundle */
_mainBundle = [NSBundle alloc];
@ -377,7 +377,7 @@ _bundle_load_callback(Class theClass, Category *theCategory)
if (stat([path cString], &statbuf) != 0)
{
NSDebugLLog(@"NSBundle", @"Could not access path %s for bundle", [path cString]);
NSDebugMLLog(@"NSBundle", @"Could not access path %s for bundle", [path cString]);
//[self dealloc];
//return nil;
}