Breaking single thread

后端 未结 5 1704
忘了有多久
忘了有多久 2020-12-15 18:08

Is it possible to break a single thread in Visual Studio, while other threads will continue their execution?

I have one background thread that does simple data sendi

5条回答
  •  长情又很酷
    2020-12-15 19:01

    You can always put a conditional break point based on a property of your current thread (like the name or id).

    You may also find this usefull : http://www.codeproject.com/Tips/396617/Conditional-Breakpoint-using-Make-Object-Id-featur

    This worked for me in VS2008 and should work in a similar way in 2010 at the least

提交回复
热议问题