Does poseAsClass work?
I tred to poseAsClass: NSObject to override release, but that doens't seems
to work.
I have a NSLOg in release, but it never write!.
Below is my code:
static NSMutableDictionary * whoWasIt = nil;
@implementation DebugObject
+ (void) install
{
[self poseAsClass:
On 2006-04-11 09:59:50 +0200 Lloyd Dupont [EMAIL PROTECTED] wrote:
Does poseAsClass work?
Yes.
Don't know whether this will help with your problem, but I put
+poseAsClass: in +load, not in +initialize.
--
Chris
___
Discuss-gnustep mailing list
You could put a breakpoint in [NSZombie forwardInvocation:] or in
GSLogZombie, and see in the backtrace
where/who is calling it (the deallocated object), and which object it was.
Good luck,
Benhur
On 4/11/06, Lloyd Dupont [EMAIL PROTECTED] wrote:
Using NSZombies I understood that my objects are
Well, you can probably make a category of NSZombie that implements
the methods you want. Any zombied object would execute those methods
instead of their original ones.
Or maybe you could write specific zombies for specific classes, and alter
the code in NSObject where objects are zombified, to
i just recently setup freeBSD 6.0 with windowmaker as my WM. i thought
i would try some of these GNUstep apps to help finish out the desktop
but i cannot seem to figure out how to start any of them. i installed
several from ports and typing the name in a xterm does not work. ive
read somewhere
On 4/11/06, Sungjin Chun [EMAIL PROTECTED] wrote:
Hi,
Current GUI code in SVN also has problem on menu drawing. It's worse
than previous code. Or is this related to backend bundle? I'm using
art backend.
Changing line 906 of NSMenuView.m from
theRect.origin.x = _leftBorderOffset;
to
On 2006-04-10 22:31:30 +0200 [EMAIL PROTECTED] wrote:
i just recently setup freeBSD 6.0 with windowmaker as my WM. i thought
i would try some of these GNUstep apps to help finish out the desktop
but i cannot seem to figure out how to start any of them. i installed
several from ports and typing
OK, my bad.
In fact Zombie were working but I didn't know they were logging and I didn't
check.
Indeed some Zombie method are called, I was right.
Now the problem is... I can't make my progam work with gdb.. :(
But I would like to know the stack (and VisualStudio can't break /
understand
isn't there any way to get programatically the current stack trace?
or at least the stack trace of an exception?
At least on COCOA the userInfo dictionary has an NSStackTraceKey
BTW in the NSProcessInfo class I noticed a GSDebugSet() function.
What does it do?
I jsut discovered NSFrameAddress in NSDebug.h
Looks very promizing in my case.
But I have no idea how to use it...
Any tips?
___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep
I have huge problem tracking my bug.
Finally I decided to hack libobjc and I added a printf in
sendmsg.c:261 (objc_msg_sendv)
To my dismay this function doesn't seems to be called
I decide to hack objc_msg_lookup and get_imp as well.
it seems that get_imp is seldom used and I see a lot of
11 matches
Mail list logo