LLDB: Swift state has developed fatal errors and is being discarded

Originator:Benjamin.Encz
Number:rdar://29332959 Date Originated:
Status:Open Resolved:
Product: Product Version:Swift 3, Xcode 8.1
Classification: Reproducible:
 
Summary:
When I attempt to use the LLDB prompt in a Swift 3 project I almost always encounter the following error message:

Shared Swift state for PlanGrid has developed fatal errors and is being discarded.
REPL definitions and persistent names/types will be lost.
Printing description of pushSyncState:
expression produced error: error: in auto-import:
failed to get module 'PlanGrid' from AST context:

Steps to Reproduce:
Create breakpoint in a Swift 3 project, attempt to use LLDB prompt.

Expected Results:
LLDB works.

Actual Results:
LLDB errors, with error message described above.

Comments

Experiencing the same issue

By marketdice at Jan. 5, 2018, 1:48 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!