lldb breakpoint error: use of unresolved identifier

I am breaking within a switch case (within a method) and lldb is not able to p or po my local vars. I have checked both optimization flags and they are set to none.


Interestingly, I *am* able to po variables outside the switch and properties of the containing struct.


XCode 9.2, Swift 4

If you put that chunk of code into a small test project, does the problem reproduce there?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

I just tried creating simplest possible example, breaking inside a switch and had no problem. So I went back to original example to try to figure out the difference and now it is working inside original example, also.


This way lies madness.


Thanks for your reply!

lldb breakpoint error: use of unresolved identifier
 
 
Q