Re: nil messaging? Is it safe?
Re: nil messaging? Is it safe?
- Subject: Re: nil messaging? Is it safe?
- From: Ondra Cada <email@hidden>
- Date: Fri, 27 Sep 2002 03:20:04 +0200
On Friday, September 27, 2002, at 01:19 , Jonathan Wight wrote:
Which reminds me - I find the fact that the runtime effectively ignores
messages to nil/NULL to be a source of many hard to trace errors. Is it
possible to set the runtime or perhaps GDB up so that it'll break if you
attempt to send a message to nil?
No, since it is a *VERY* common trick.
More precisely: of course you can do that, but if you try, you'll return
to the original behaviour as fast as possible. Anybody sends messages to
nil (assuming nothing happens) *VERY* frequently.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.