CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

BacktraceSwift 0.1.0

BacktraceSwift 0.1.0

Maintained by RaiseChestnut.



  • By
  • 邓锋

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 Backtrace

Backtrace.backtrace(thread: Thread)->String
Backtrace.backtraceMainThread()->String
Backtrace.backtraceCurrentThread()->String
Backtrace.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

邓锋, [email protected]

License

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