Hi Gideon,
I hope your woes aren't our (Omni's) fault. If you're using our NSApplication subclass, OAApplication, then you do have a root level exception handler in -[OAApplication run]. I don't see that in your backtrack, though. Then again, I don't see NMApplication either.
You may also be using OFController, which makes itself the delegate of the root level exception handler and does some magic including changing the exception handling mask and setting the handler's delegate to self. The exception mask probably includes NSLogOtherExceptionMask, which I don't think you want. Try getting rid of that.
Finally, I would just replace the implementation of descriptionWithLocale:indent: in NSView-OAExtensions.m with "return [super description]" temporarily to see if there is an edge condition we're blowing up on in (presumably) -debugDictionary.
Good luck!
-Tom
On 5 Sep 2006, at 16:11, Gideon King wrote: Hi James, thanks for the suggestion, but I don't have an exception handler - just a crash reporter. And I haven't changed that since the last release of the program.
I may need to put an exception handler in to discard these exceptions, but I think that I am screwing something up in the application internally and would really like to get to the bottom of the issue.
po $r3 gave me the following: "AXSubrole" attribute unsupported by: <NMApplication: 0x447a70>
...but I think that this is just the first one that is thrown, which would normally be ignored, and then later I get actual crash. And actually if I remove my breakpoint on [NSException raise], I get an exception like:
1 com.omnigroup.OmniAppKit 0x018350a4 -[NSView(OAExtensions) descriptionWithLocale:indent:] + 56 2 com.apple.Foundation 0x929355fc _NSDescriptionWithLocaleFunc + 116 [...]
|