Reputation: 6089
I'm trying to watch a variable by pausing on a breakpoint, right clicking on the variable I want to watch and selecting Watch "someVariable", but I get the following error:
error: no variable named ‘someVariable’ found in this frame.
This seems to happen with any variable I try. How can I properly watch a variable for changes?
Upvotes: 1
Views: 763
Reputation: 131471
I was unable to get watchpoints to work at all with Xcode and Swift. I suspect it's broken for Swift, and hope they get it working in the future.
Upvotes: 1