I have this message in the debugger window:
This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
I know what it means and I know how to fix it, but the problem is that I have a lot of threads fired in different parts of the application and is difficult to get a full stack trace.
The app is not crashing, as it is treated as a warning.
How can I pause/halt the application when this occurs, so I can see exactly what is going on there?