Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-15560] LLDB error: cannot find type in async contexts #4300

Open
tonyarnold opened this issue Dec 5, 2021 · 0 comments
Open

[SR-15560] LLDB error: cannot find type in async contexts #4300

tonyarnold opened this issue Dec 5, 2021 · 0 comments
Labels
bug Something isn't working LLDB for Swift

Comments

@tonyarnold
Copy link

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.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LLDB for Swift
Projects
None yet
Development

No branches or pull requests

1 participant