On 21 Mar '08, at 7:40 AM, Joseph Ayers wrote:

Given a log messages like:
2008-03-21 09:06:35.464 Roboplasm[12210:10b] *** -[VideoController measureMethodChanged:]: unrecognized selector sent to instance 0x3dfbc0

How does one determine the sender and self....

Set a breakpoint at objc_exception_throw (if you're on Leopard) or - [NSException raise] and NSRaiseError (on earlier OSs), using the Breakpoints window in Xcode. Then run your app in the debugger. It'll stop at the point where the exception is thrown; then you can look at the stack to see what's going on, and inspect the values of variables.

It's always a good idea to have such a breakpoint set. It helps a lot in debugging.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to