[swift-evolution] Print stack trace for fatalError
harlan at harlanhaskins.com
Tue Dec 8 23:36:16 CST 2015
Bumping because I'd hate to see this get buried. It's a big pain point right now not getting any information from a fatalError, assert, or precondition other than the message.
Is there anything technical preventing this?
Also some kind of name demangling would probably be necessary for this as well.
> On Dec 7, 2015, at 4:47 PM, Harlan Haskins via swift-evolution <swift-evolution at swift.org> wrote:
> 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
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution