forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 351
Open
Labels
Description
| Previous ID | SR-15560 |
| Radar | None |
| Original Reporter | @tonyarnold |
| Type | Bug |
Environment
macOS 12.0.1 (21A559)
swift-driver version: 1.26.21 Apple Swift version 5.5.2 (swiftlang-1300.0.47.2 clang-1300.0.29.30)
Target: arm64-apple-macosx12.0
Model Name: MacBook Pro
Model Identifier: MacBookPro18,2
Chip: Apple M1 Max
Total Number of Cores: 10 (8 performance and 2 efficiency)
Memory: 64 GB
Additional Detail from JIRA
| Votes | 0 |
| Component/s | LLDB for Swift |
| Labels | Bug |
| Assignee | None |
| Priority | Medium |
md5: 2765256934942a20087e5da831a414fa
Issue Description:
I'm seeing issues in Xcode 13.2 beta 2 (13C5081f) / Swift 5.5.2 where any breakpoints set within async methods or contexts result in LLDB being unusable:
(lldb) po self
error: <EXPR>:2:11: error: cannot find type '$__lldb_context' in scope
extension $__lldb_context {
^~~~~~~~~~~~~~~
error: <EXPR>:19:5: error: cannot find '$__lldb_injected_self' in scope
$__lldb_injected_self.$__lldb_wrapped_expr_0(
^~~~~~~~~~~~~~~~~~~~~
This is happening both within a macOS app targeting macOS 11, and within a Vapor web application - both executing/debugging under macOS 12.0.1.