-
April 14th, 2024, 12:52 PM
#1
Multi-threading, Visual Studio, and Breakpoints
Hi. I need some clarification and/or help with a multi-threaded application being debugged with Visual Studio.
I notice that when I hit a breakpoint in a thread, it stops, and I can examine the status and values, but when I step to the next instruction, the debugger goes back to the original breakpoint. I think I understand that a different thread is hitting the breakpoint, and that when one thread is stopped, they all seem to stop, until I go forward. Is this understanding correct?
Is there a way to hold the other threads, while I single step the first one? Also, is there anything in the debugger that will identify the particular thread that is stopped at the breakpoint? Thank you.
-
April 14th, 2024, 12:54 PM
#2
Re: Multi-threading, Visual Studio, and Breakpoints
p.s.I have Visual Studio 2022 Community at version 17.9.6 and I am debugging a C++ program.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|