"do" block with Address Sanitizer turned on loses symbols during debug
Originator: | WayneHartman | ||
Number: | rdar://30433661 | Date Originated: | 2/08/2017 |
Status: | Open | Resolved: | |
Product: | Xcode | Product Version: | 8.2.1 |
Classification: | Serious Bug | Reproducible: | ALWAYS |
Summary: When you have code in a do/catch block, with Address Sanitizer turned on, some/all symbols are lost to be able to 'po' in the console, resulting in the error: error: <EXPR>:3:1: error: use of unresolved identifier 'key' key ^~~ Steps to Reproduce: 1. Turn on Address Sanitizer with a swift project 2. Write a do/catch block 3. Set a breakpoint inside the do block 4. Attempt to 'po' variables Expected Results: Console prints the contents of the variable. Actual Results: The error described above Version: Xcode 8.2.1 Swift 3.0 iOS 10.2.x
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!