I use VS2017 to debug my C++ app. However, when I utilize single-step debug, it will switch to some thread automatically and I only want to debug one specific thread. How could I go about doing this?
Breakpoints
You can configure VS2017 debugger to filter only a specific thread. Follow this msdn blog to apply one to a breakpoint. You want to filter on ThreadId.
Thread Window
Another way is through the Threads Window. Here you can view all active threads in the application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With