expression parser does not recognize local stored variable
| Originator: | mc | ||
| Number: | rdar://21329734 | Date Originated: | 2015-06-10 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | |
| Classification: | Reproducible: | Always |
Create a project with the attached source file as contents Set a breakpoint on the debugPrint(length) line Type (lldb) expr length Instead of length, we get: (lldb) p length error: <EXPR>:1:1: error: use of unresolved identifier 'length' length Steps to Reproduce: Expression log attached Expected Results: I see my data Actual Results: I get an error Version: (lldb) ver lldb-340.4.44 Notes: Configuration: Xcode 6.3 and 7
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!