coobjc provides coroutine support for Objective-C and Swift. We added await method、generator and actor model like C#、Javascript and Kotlin. For convenience, we added coroutine categories for some Foundation and UIKit API in cokit framework like NSFileManager, JSON, NSData, UIImage etc. We also add tuple support in coobjc.
Since coobjc is stackful coroutine, we create a new stack run the coroutine's code. which make the backtrace() can't return succes, you can use co_backtrace instead.
Context and Description
Environment Details
Expected behavior
Get the real call stack list.
Actual behavior
Get an empty array.
Steps to Reproduce
Copy the code to reproduce
method call stacks