poseAsClass

2006-04-11 Thread Lloyd Dupont
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:

Re: poseAsClass

2006-04-11 Thread Chris Vetter
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

Re: need help to debug... (windows debuging)

2006-04-11 Thread Benhur Stein
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

Re: Zombie tracking....

2006-04-11 Thread Benhur Stein
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

starting GNUstep applications in freeBSD 6.0release

2006-04-11 Thread infosuffer
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

Re: [Q] Menu Drawing Problem(Again, Worse)

2006-04-11 Thread Benhur Stein
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

Re: starting GNUstep applications in freeBSD 6.0release

2006-04-11 Thread Chris Vetter
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

Re: Zombie tracking....

2006-04-11 Thread Lloyd Dupont
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

Stack trace?

2006-04-11 Thread Lloyd Dupont
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?

NSFrameAddress

2006-04-11 Thread Lloyd Dupont
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

objc_msg_send not working (windows)

2006-04-11 Thread Lloyd Dupont
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