“Step over” when debugging multithreaded programs in Visual Studio

前端 未结 6 1678
青春惊慌失措
青春惊慌失措 2020-12-01 04:46

One thing that annoys me when debugging programs in Visual Studio (2005 in my case) is that when I use \"step over\" (by pressing F10) to execute to the next line

6条回答
  •  一整个雨季
    2020-12-01 05:16

    [Ctrl+D, T] or [Ctrl+Alt+H] - Opens the Thread Window (used to monitor, freeze and name threads)

    The thread window allows you to select if you want to show the location of the other threads in visual studio. That is a good reminder to me that the current thread I am debugging is not the only one in play. Hovering over the thread marker gets you the threads name and id.

    More tips found at: http://devpinoy.org/blogs/jakelite/archive/2009/01/10/5-tips-on-debugging-multi-threaded-code-in-visual-studio-net.aspx

提交回复
热议问题