Skip to content

Commit d147e4a

Browse files
authored
Add a Crash Handling subsection. (#376)
Add some words about the new crash handler, including a promise of a future blog post on the subject.
1 parent 9bf6871 commit d147e4a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

_posts/2023-08-29-swift-5.9-released.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ A full list of Swift 5.9's Evolution proposals can be found at the end of this p
8282

8383
<!-- TODO: Add more sections with content? -->
8484

85+
### Crash Handling
86+
87+
On Linux, the Swift runtime will now catch program crashes and Swift runtime errors and display a backtrace on the program's output. The backtracer is out-of-process and includes support for `async` functions.
88+
89+
This feature is also available on macOS, although there it is disabled by default (it can be enabled by setting `SWIFT_BACKTRACE=enable=yes`) and you need to ensure that your program is signed with the `com.apple.security.get-task-allow` entitlement.
90+
91+
A more detailed blog covering this feature will be published soon.
92+
8593
### Debugging
8694

8795
In Swift 5.9, we introduced a couple of new features to [LLDB](https://lldb.llvm.org/) and the Swift compiler aimed at making Swift debugging faster and more reliable.

0 commit comments

Comments
 (0)