mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-25 08:51:03 +00:00
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:
parent
4b99c97e5e
commit
d7d02b2124
1 changed files with 5 additions and 4 deletions
|
@ -229,7 +229,7 @@ NSMutableDictionary *pasteboards = nil;
|
||||||
{
|
{
|
||||||
if (verbose)
|
if (verbose)
|
||||||
{
|
{
|
||||||
NSLog(@"get data for %p\n", self);
|
NSLog(@"get %p[%"PRIuPTR"] %@\n", data, [data length], self);
|
||||||
}
|
}
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
@ -278,7 +278,7 @@ NSMutableDictionary *pasteboards = nil;
|
||||||
{
|
{
|
||||||
if (verbose)
|
if (verbose)
|
||||||
{
|
{
|
||||||
NSLog(@"set data for %p\n", self);
|
NSLog(@"set %p[%"PRIuPTR"] %@\n", d, [d length], self);
|
||||||
}
|
}
|
||||||
ASSIGN(data, d);
|
ASSIGN(data, d);
|
||||||
}
|
}
|
||||||
|
@ -885,11 +885,12 @@ NSMutableDictionary *pasteboards = nil;
|
||||||
{
|
{
|
||||||
PasteboardEntry *e;
|
PasteboardEntry *e;
|
||||||
|
|
||||||
|
e = [self entryByCount: count];
|
||||||
if (verbose)
|
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)
|
if (e)
|
||||||
{
|
{
|
||||||
PasteboardData *d;
|
PasteboardData *d;
|
||||||
|
|
Loading…
Reference in a new issue