[swift-evolution] Print stack trace for fatalError

Harlan Haskins harlan at harlanhaskins.com
Mon Dec 7 15:47:08 CST 2015


Is there even a way to display the call stack symbols in pure Swift without NSThread.callStackSymbols()?

> On Dec 7, 2015, at 4:24 PM, Radoslaw Pietruszewski via swift-evolution <swift-evolution at swift.org> wrote:
> 
> + 1. This should also be generalized to assert, precondition, etc. If there was a way for custom fatalError-like functions to also dump a stack trace, that would be great.
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151207/7d358cd3/attachment.html>


More information about the swift-evolution mailing list