Hacker News new | ask | show | jobs
by saagarjha 960 days ago
> The backtracer also skips over system frames and Swift thunks by default.

Boo! Show me my system frames!

(Also, is this available in the Xcode toolchain yet?)

1 comments

Part of Swift 5.9 which is in Xcode 15, so, I think so, but it's opt-in:

> This feature is also available on macOS but is disabled by default. To enable it, set SWIFT_BACKTRACE=enable=yes and sign your program with the com.apple.security.get-task-allow entitlement.

https://www.swift.org/blog/swift-5.9-released/