Watchpoint not working on iOS11 iPhone8 Plus, Xcode9.4

I set a watchpoint for an address, but it is not working, I was using iPhone8p(iOS11.4). The same code, same watchpoing work fine on simulator and on another device, iPhone6. why? have you met the same problem?

Replies

There’s no fundamental reason why watchpoints would work on one device but not work on another, although watchpoints rely on tricky low-level CPU support, so device-specific problems are not unheard of. My recommendation is that you try this with the latest Xcode 10.0 beta, preferably targeting iOS 12 beta. If that still fails, you should definitely file a bug against the debugger.

Please post your bug number, just for the record.

Share and Enjoy

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

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