diff --git a/ChangeLog b/ChangeLog index 5279c03dd..b83a466a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-08-19 Michael Hanni + + * Source/NSObjCRuntime.m: patch from Tim Bissell to help in + debugging. (show which non-existant ivar you wanted.) + Tue Aug 3 12:36:54 1999 Adam Fedor * Source/NSInvocation.m (-initWithTarget:selector:): Hack for diff --git a/Source/NSObjCRuntime.m b/Source/NSObjCRuntime.m index 2ae616431..8d2db097f 100644 --- a/Source/NSObjCRuntime.m +++ b/Source/NSObjCRuntime.m @@ -105,7 +105,7 @@ GSGetInstanceVariable(id obj, NSString *iVarName, void *data) } if (ivar == 0) { - NSLog(@"Attempt to get non-existent ivar"); + NSLog(@"Attempt to get non-existent ivar '%s'", name); return NO; } @@ -148,7 +148,7 @@ GSSetInstanceVariable(id obj, NSString *iVarName, const void *data) } if (ivar == 0) { - NSLog(@"Attempt to set non-existent ivar"); + NSLog(@"Attempt to set non-existent ivar '%s'", name); return NO; }