You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the following code, if I put a breakpoint on line where let a is in Xcode, LLDB debug server will crash.
If I start the initial coroutine on main queue instead of global, or if I remove the middle CoFuture, no crashes would happen when the breakpoint hits.
import UIKit
import SwiftCoroutine
classViewController:UIViewController{overridefunc viewDidLoad(){
super.viewDidLoad()DispatchQueue.global().startCoroutine{try CoFuture<Void>{tryDispatchQueue.main.await{leta=1 /* SET BREAKPOINT ON THIS LINE*/
}}.await()}}}
Message from debugger: The LLDB RPC server has crashed. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach the most recent crash log.
Unfortunately, when this crash happens, no actual diagnostic files are actually generated.
The text was updated successfully, but these errors were encountered:
heshuimu
changed the title
A certain nested coroutines causes LLDB RPC Server crash when placing a breakpoint
A certain nested coroutines causes LLDB RPC Server crash on a breakpoint
Oct 15, 2020
For the following code, if I put a breakpoint on line where
let a
is in Xcode, LLDB debug server will crash.If I start the initial coroutine on main queue instead of global, or if I remove the middle CoFuture, no crashes would happen when the breakpoint hits.
Unfortunately, when this crash happens, no actual diagnostic files are actually generated.
The text was updated successfully, but these errors were encountered: