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-3369] Swift's LLDB error: failed to get module 'My_App' from AST context #4650

Open
swift-ci opened this issue Dec 8, 2016 · 1 comment
Labels
bug Something isn't working LLDB for Swift

Comments

@swift-ci
Copy link

swift-ci commented Dec 8, 2016

Previous ID SR-3369
Radar None
Original Reporter Dmitrue (JIRA User)
Type Bug
Environment

macOS 10.12.1 (16B2555)
Apple Swift version 3.0.1 (swiftlang-800.0.58.6 clang-800.0.42.1)
Target: x86_64-apple-macosx10.9
lldb -v lldb-360.1.65
Xcode Version 8.1 (8B62)

Additional Detail from JIRA
Votes 2
Component/s LLDB for Swift
Labels Bug
Assignee None
Priority Medium

md5: 21bdc51209317b99753eb162bf6cf734

Issue Description:

I'm using Swift 3, Xcode 8.1, CocoaPods 1.1.1. After running

pod update

, every time i try to use Xcode's lldb console - it prints an error.
For example,

po self

outputs:

Shared Swift state for My App has developed fatal errors and is being discarded.
REPL definitions and persistent names/types will be lost.
warning: Swift error in module My App.
Debug info from this module will be unavailable in the debugger.

error: in auto-import:
failed to get module 'My_App' from AST context:
@swift-ci
Copy link
Author

swift-ci commented May 8, 2018

Comment by Michael MacCallum (JIRA)

This is a really big problem for me as well. I'm unable to debug my production application with anything more than print statements.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 9, 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