Home > Software engineering >  How can I into the thread debugging VisualStudio2013
How can I into the thread debugging VisualStudio2013

Time:10-02

I first read the project source code, find a VS online version of VLC project source code, through debugging, a thread interface is waiting a statement read the source code to the VLC return.

As the VLC interface to work properly, but the original debug interface is like this:

So now:


This is because what reason? (I haven't had much experience in multithreaded)
How to use VS continue to follow up thread debugging interface response??

CodePudding user response:

Click pause, Ctrl + Alt + H can choose other threads in the thread window, double-click

CodePudding user response:

You can also add the TRACE output macro to some key information

CodePudding user response:

Thread loop to set breakpoints

CodePudding user response:

http://blog.csdn.net/zhao4zhong1/article/details/53078924 old drivers find bug decade journey

CodePudding user response:

To set breakpoints in the thread, then run, you'll get executed in a thread, the breakpoint to stop

CodePudding user response:

This thread is waiting for another thread, you can comb code, the count thread which is waiting on the handle type, and then, in the thread the corresponding code position on breakpoints,,
Good luck,

CodePudding user response:

I was at the entrances to the thread function breakpoint on inside, as long as the threads are implemented, will stop at the breakpoints
  • Related