The Thread.callStackSymbols
can only get the current thread callstack, and I cant jump to main thread by GCD like this:
DispatchQueue.main.async {
let result = Thread.callStackSymbols
}
so, how to get main thread callstack on other thread
The Thread.callStackSymbols
can only get the current thread callstack, and I cant jump to main thread by GCD like this:
DispatchQueue.main.async {
let result = Thread.callStackSymbols
}
so, how to get main thread callstack on other thread