[swift-users] intercept fatalError() or other termination messages from swift?

David Baraff davidbaraff at gmail.com
Mon Jun 26 15:41:33 CDT 2017


I will do a few more crashes, by doing a fatalError() and also unwrapping an optional or something, and see if I can see them.  THanks for telling me where to look.  I’ll let you know what I find.


Begin forwarded message:

> From: Joe Groff <jgroff at apple.com>
> Subject: Re: [swift-users] intercept fatalError() or other termination messages from swift?
> Date: June 26, 2017 at 1:22:33 PM PDT
> To: David Baraff <davidbaraff at gmail.com>
> Cc: Greg Parker <gparker at apple.com>, swift-users <swift-users at swift.org>
> 
> 
>> On Jun 26, 2017, at 12:22 PM, David Baraff <davidbaraff at gmail.com> wrote:
>> 
>> To be very clear, i’m concerned about iOS not mac os x.  I pulled up a crash report using xcode tools, and saw no mention of the string output by fatal error.  If there is someway after the fact of, on an iPhone or iOS interogating the asl_log when you restart your program to glean the error message, i’m all ears.
> 
> The fatal error message ought to appear under the "Application Specific Information:" heading in the crash report Xcode pulls from the device.
> 
> -Joe
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170626/e199b9f9/attachment.html>


More information about the swift-users mailing list