How to debug a single thread in Visual Studio?

后端 未结 10 1615
执笔经年
执笔经年 2020-11-28 17:59

I have a solution with some projects. There are several break-points in different projects. I want to trace the first thread hit one of these break-points and continue traci

10条回答
  •  误落风尘
    2020-11-28 18:30

    In VS 2019:

    1. Set a breakpoint somewhere.
    2. Hit F5 (Continue) until your thread comes.
    3. Click on breakpoint to remove it.
    4. You can step the thread with F10 or F11.

提交回复
热议问题