lldb fails to print constants in Swift
| Originator: | pete | ||
| Number: | rdar://17917998 | Date Originated: | 8/5/2014 |
| Status: | Duplicate/16930524 | Resolved: | |
| Product: | Xcode | Product Version: | 6.0 (6A279r) |
| Classification: | Reproducible: | Always |
Summary: In a swift app, lldb is only able to print variables. Attempting to print a constant fails Steps to Reproduce: 1) Create a new Swift iOS project in Xcode. 2) Specify a constant with the let keyword 3) Debug the app and break after the constant has been set 4) Attempt to print the constant by with the p lldb command Expected Results: A description of the constant should be printed out in the debug console Actual Results: An error is shown in the debug console Execution was interrupted, reason: EXC_BAD_ACCESS (code=1, address=0x7f9070ccdca0). The process has been returned to the state before expression evaluation.
Comments
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!