{"id":13493152,"url":"https://github.com/swift-server/swift-backtrace","last_synced_at":"2025-03-28T11:31:50.060Z","repository":{"id":37896721,"uuid":"182250340","full_name":"swift-server/swift-backtrace","owner":"swift-server","description":"💥 Backtraces for Swift on Linux and Windows","archived":true,"fork":false,"pushed_at":"2024-10-28T14:16:40.000Z","size":186,"stargazers_count":294,"open_issues_count":9,"forks_count":34,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-03-20T22:19:45.027Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swift-server.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-19T10:49:22.000Z","updated_at":"2024-11-22T21:34:06.000Z","dependencies_parsed_at":"2024-01-13T15:38:46.309Z","dependency_job_id":"c1b7e2d8-0722-4bf2-90b7-fd263c078d53","html_url":"https://github.com/swift-server/swift-backtrace","commit_stats":{"total_commits":60,"total_committers":13,"mean_commits":4.615384615384615,"dds":0.6833333333333333,"last_synced_commit":"f01e3400ae083e9c28be5c86f53d7b7b0b0478da"},"previous_names":["ianpartridge/swift-backtrace"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swift-server%2Fswift-backtrace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swift-server%2Fswift-backtrace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swift-server%2Fswift-backtrace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swift-server%2Fswift-backtrace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swift-server","download_url":"https://codeload.github.com/swift-server/swift-backtrace/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246021030,"owners_count":20710869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T19:01:12.734Z","updated_at":"2025-03-28T11:31:50.055Z","avatar_url":"https://github.com/swift-server.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"\u003e [!IMPORTANT]  \n\u003e This library is now archived as backtracing is built into Swift 5.9+\n\n# Backtrace\n\nThis Swift package provides support for automatically printing crash backtraces of Swift programs.\n\nThe library is designed to fill a gap in backtraces support for Swift on non-Darwin platforms. \nWhen this gap is closed at the language runtime level, this library will become redundant and be deprecated.\n\n## Usage\n\n**Note**: You do not need this library on Linux as of Swift 5.9, which has\nbuilt-in backtracing support.\n\nAdd `https://github.com/swift-server/swift-backtrace.git` as a dependency in your `Package.swift`.\n\n### Crash backtraces\n\nIn your `main.swift`, do:\n\n```swift\nimport Backtrace\n\n// Do this first\nBacktrace.install()\n```\n\nFinally, for Swift \u003c 5.2, make sure you build your application with debug symbols enabled. Debug symbols are automatically included for Swift 5.2 and above.\n\n```\n$ swift build -c release -Xswiftc -g\n```\n\nWhen your app crashes, a stacktrace will be printed to `stderr`.\n\n## Security\n\nPlease see [SECURITY.md](SECURITY.md) for details on the security process.\n\n## Acknowledgements\n\nIan Partridge ([GitHub](https://github.com/ianpartridge/), [Twitter](https://twitter.com/alfa)) the original author of this package.\n\nJohannes Weiss ([GitHub](https://github.com/weissi), [Twitter](https://twitter.com/johannesweiss)) for the signal handling code.\n\nSaleem Abdulrasool ([GitHub](https://github.com/compnerd), [Twitter](https://twitter.com/compnerd)) for the Windows port.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswift-server%2Fswift-backtrace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswift-server%2Fswift-backtrace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswift-server%2Fswift-backtrace/lists"}