Open
Description
Previous ID | SR-16021 |
Radar | None |
Original Reporter | @ixsander |
Type | Bug |
Attachment: Download
Environment
XCode 13.3
Additional Detail from JIRA
Votes | 0 |
Component/s | LLDB for Swift |
Labels | Bug, DiagnosticsQoI |
Assignee | None |
Priority | Medium |
md5: 1b76e6bc1c615dda33c588b5b8d93394
Issue Description:
Set a breakpoint in taskgroup (see below) will crash lldb. This is aways reproducible.
lldb-rpc-server-2022-03-17-231155.ips
import SwiftUI
struct ContentView: View {
var body: some View {
Text("Hello, world!")
.padding()
.task {
do {
try await test1()
} catch {
print(error)
}
}
}
func test1() async throws {
try await withThrowingTaskGroup(of: Void.self) { group in
print("test") // Set a breakpoint here will crash LLDB
}
}
}