[Xcode crashes UI] Crashes originated from assert() or fatalError() don't include messages

Originator:info
Number:rdar://21112350 Date Originated:26-May-2015 03:16 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 assert() or fatalError(). However, nowhere in that UI is the error message included, which makes debugging crashes an impossible task.

Steps to Reproduce:
Force a crash:

fatalError(“This is a sample crash. My message won’t be displayed in Xcode :(”);

Expected Results:
The message “This is a sample crash. 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.

Notes:
Potentially related: rdar://21112288

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!