I am debugging a C ++ program compiled using MSVC under Windows. I want to investigate a problem associated with multi-threaded processes. Therefore, I put ASSERT in my code, and when the program reaches ASSERT, it displays a window about ASSERT (Standart [Abort], [Retry], [Ignore]) with a proposal to suspend the program in the debugger. I press the [Retry] button and pause the program. BUT, while I pressed the button, other threads continue to execute. So the question is, how to immediately stop the program when it reaches a certain point in order to find out what other threads were doing at that time?
c ++ multithreading visual-c ++ visual-studio-debugging
Rem
source share