add a little debug

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34743 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2012-02-08 11:00:34 +00:00
parent 4b99c97e5e
commit d7d02b2124

View file

@ -229,7 +229,7 @@ NSMutableDictionary *pasteboards = nil;
{
if (verbose)
{
NSLog(@"get data for %p\n", self);
NSLog(@"get %p[%"PRIuPTR"] %@\n", data, [data length], self);
}
return data;
}
@ -278,7 +278,7 @@ NSMutableDictionary *pasteboards = nil;
{
if (verbose)
{
NSLog(@"set data for %p\n", self);
NSLog(@"set %p[%"PRIuPTR"] %@\n", d, [d length], self);
}
ASSIGN(data, d);
}
@ -885,11 +885,12 @@ NSMutableDictionary *pasteboards = nil;
{
PasteboardEntry *e;
e = [self entryByCount: count];
if (verbose)
{
NSLog(@"%@ set data for type '%@' version %d\n", self, type, count);
NSLog(@"%@ set data %p[%"PRIuPTR"] for type '%@' version %d in %@\n",
self, data, [data length], type, count, e);
}
e = [self entryByCount: count];
if (e)
{
PasteboardData *d;