Re: [swift-users] Automatically dump stack trace on trap

2015-12-22 Thread Greg Parker via swift-users
> On Dec 22, 2015, at 4:32 PM, Karl Pickett via swift-users > wrote: > > Having stack traces on critical faults is an "enterprisey" feature that I > like. It would be nice if swift allowed customization of what happened on a > trap (like array out of bounds), so it dumped the thread's stack

[swift-users] Automatically dump stack trace on trap

2015-12-22 Thread Karl Pickett via swift-users
Having stack traces on critical faults is an "enterprisey" feature that I like. It would be nice if swift allowed customization of what happened on a trap (like array out of bounds), so it dumped the thread's stack trace to stderr before exiting. I can simulate the desired behavior by installing