Is it possible for other threads to continue to work when one thread freezes due to a breakpoint

My understanding of the debugging process and debuggers is that when you hit a breakpoint, all other threads are frozen. However, one of my colleagues said that this parameter is configurable, which means that somewhere in the Visual Studio settings you can configure the other threads (where there is no breakpoint) to continue to work normally, although the thread with the breakpoint is frozen. I could not find such settings in the visual studio, and my colleague does not remember where he saw this setting, although he seems to be pretty sure that this option exists.

Can someone confirm if they can even have other threads when one thread is frozen due to a breakpoint? Also, if there is such a setting, let me know where to find it.

+4
source share
3 answers

The debugger always freezes all threads when it reaches a breakpoint. However, you have control over what happens to the threads when you press F5 to continue execution. You can use the toolbar button Freezeavailable in the Debug + Windows + Threads debug window to prevent the thread from continuing when F5 is pressed. Use the button Thawto turn it on again.

+5

, , , , . , , , , , . . , , , . - -, , , .

0

VS, , gdb 7.10, , VS. : " GDB , , . , . ". "- gdb" .

0

All Articles