I have a custom cursor application that I got using a custom shell for NSCursor (most of the main code is for OS portability, so above this I pretend that NSCursor is a Windows-style cursor). I had a few problems with the fact that the cursor does not go back to my user when the user cmd + brings it back to the window, and I would like to see that currentCursor is changing. Everywhere where I tried to set breakpoints, nothing gave me.
So, I was wondering if there was a way (in Xcode) to break as soon as the [NSCursor currentCursor] value changes. Is it possible? Is this data available for my application?
Thanks. I hope I get it. It's pretty hard to explain when I'm not even sure what I want to do!
source share