[Xcode crashes UI] Crashes originated from an NSException don't include exception message
Originator: | info | ||
Number: | rdar://21112288 | Date Originated: | 26-May-2015 03:13 PM |
Status: | Open | Resolved: | |
Product: | Developer Tools | Product Version: | 6.3.2 |
Classification: | Serious Bug | Reproducible: | Always |
Summary: The new crash reporting UI introduced in Xcode 6.3 includes crashes coming from raised NSExceptions (as shown in attached screenshot). However, nowhere in that UI is the exception message included, which makes debugging crashes an impossible task. Steps to Reproduce: Force a crash from an exception: NSException *exception = [NSException exceptionWithName:@“TestException” reason:@“This is a test exception. My message won’t be displayed in Xcode :(” userInfo:nil]; @throw exception; Expected Results: The message “This is a test exception. My message won’t be displayed in Xcode :(“ is included along with the crash report in Xcode’s organizer. Actual Results: Only the stack trace is visible. Regression: Not only is this a problem for exceptions thrown, but also any exception thrown by NSAssertion macros!
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!