Question: I'm debugging C++ program compiled with MSVC under Windows.
I want to investigate issue linked with multi threading. So I put ASSERT in my code and when program reaches ASSERT it displays window about ASSERT (Standart [Abort], [Retry], [Ignore] window) with proposal to pause program in debugger. I press [Retry] button and program pauses. BUT while I was pressing the button other threads continue to execute. 
So the question is how to immediately stop the program when it reaches some point to see what other threads was doing at that time?

Answer: 
Select Device in-place of Simulator and then make Archive .

[![enter image description here](https://i.stack.imgur.com/1yhgt.png)](https://i.stack.imgur.com/1yhgt.png)
[![enter image description here][1]][1]

[1]: <http://i.stack.imgur.com/VQB3K.png> you need to select the 'Generic Ios device' and the go for product -> Archive