SkillAgentSearch skills...

Backtrace

backtrace for iOS thread call stack.

Install / Use

/learn @FengDeng/Backtrace
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Backtrace

Version License Platform

如何捕获任意线程调用栈信息-Swift

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Usage


import BacktraceSwift

BacktraceSwift.backtrace(thread: Thread)->String
BacktraceSwift.backtraceMainThread()->String
BacktraceSwift.backtraceCurrentThread()->String
BacktraceSwift.backtraceAllThread()->[String]

Requirements

iOS 8.0+ Swift 5.0+

Installation

Backtrace is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'BacktraceSwift'

Author

邓锋, raisechestnut@gmail.com

License

Backtrace is available under the MIT license. See the LICENSE file for more info.

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated11mo ago
Forks5

Languages

Swift

Security Score

82/100

Audited on Apr 21, 2025

No findings