The Apple documentation TN2151 says this for a possible cause of a EXC_BREAKPOINT
/ SIGTRAP
:
a non-optional type with a nil value
But code such as this won't compile:
var x = "hello"
x = nil
So under what circumstances can a non-optional obtain a nil
value?