Hi all, I have a strange issue - I have a program that is running quite 
happily, and when I make a change to it and click the Fix button, it fixes the 
issue, but then I immediately get an exc_bad_access error when I continue 
running it. The stack trace shows a "doesNotRecognizeSelector" error. It always 
happens in the same place in my code, and the method does exist (it is in a 
category, and the method where it is being called from is in the same 
category). I have tried a complete clean and rebuild, but to no avail.

Any clue as to what may be causing this? It is really slowing down my debugging.

The code I am fixing is compiled into a framework which is included in the main 
application (my build target builds both the framework and the app) - could 
this be the cause? If so, is there something I need to do so that it works 
properly for debugging frameworks?

(gdb) bt
#0  0x94803a90 in strlen ()
#1  0x9480e400 in __vfprintf ()
#2  0x94820989 in asprintf ()
#3  0x9463d7ef in __CFExceptionProem ()
#4  0x9463d871 in -[NSObject(NSObject) doesNotRecognizeSelector:] ()
#5  0x94598db6 in ___forwarding___ ()
#6  0x94598982 in __forwarding_prep_0___ ()
#7  0x001101c7 in -[NMVisual(InternalLayout) textAreaSize] (self=0x613e90, 
_cmd=0x18114c) at 
/Users/gideon/Development/svn/trunk/mac/Source/NMVisual+InternalLayout.m:472


Thanks

Gideon_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to