forked from llvm/llvm-project
- Notifications
You must be signed in to change notification settings - Fork 354
Open
Labels
Description
| Previous ID | SR-10822 |
| Radar | None |
| Original Reporter | ewconnell (JIRA User) |
| Type | Bug |
Attachment: Download
Environment
Ubuntu 16.04, 18.04, or the official swift docker images for Linux. They all fail.
Additional Detail from JIRA
| Votes | 1 |
| Component/s | LLDB for Swift |
| Labels | Bug, 5.0Regression |
| Assignee | @neonichu |
| Priority | Medium |
md5: 0a2586239d4df0ce1604b3fbefb62b96
Issue Description:
Using any version of Swift 5.x on Ubuntu 18.04 (and 16.04) I can run and step though an app, but I am unable to examine any variables in lldb. It just bombs with "failed to get module 'MyApp' from AST context".
The Swift 4.2 toolchain works fine.
I tried the Swift latest docker image for ubuntu 18.04 and it fails also, which means it has nothing to do with my installation.
struct MyStruct { var a: Int = 0 var b: Int = 42 } var data = MyStruct() print("Hello, world! data: (data)") // set a breakpoint here and try (lldb) po data This is blocking all work for my company. Please fix this quickly or provide a workaround.
Thanks, Ed