If I don't set an exception breakpoint in Xcode 4.2, I get very good explanations, for example:
exception -[NSLayoutManager _fillGlyphHoleForCharacterRange:startGlyphIndex:desiredNumberOfCharacters:] *** attempted glyph generation while textStorage is editing. It is not valid to cause the layoutManager to do glyph generation while the textStorage is editing (ie the textStorage has been sent a beginEditing message without a matching endEditing.)
If I set a breakpoint, I get the location of the problem, which is also good. But then I get no explanation. Nothing is written to the console, even if I continue.
How can I get both? Presumably, since Xcode settled on the exception, the exception object is somewhere in the debugger when I can get to it.
source share