Visual Studio 2008.Net - a step over the current process

I am trying to debug several applications that communicate with each other and want to be able to switch without switching to another process / thread. Thus, Visual Studio has the command "Step Over Current Process (Ctrl-Alt-F10)", which looks the way I want, but it is disabled, why?

I found the same question, but for C ++: "Step over" when debugging multithreaded programs in Visual Studio

So writing macros is also a way for .net?

+3
source share
1 answer

I understand that in a visual studio there is no real way to do this. Unlike Eclipse: D. The best thing you can do is use the Threads debug window to freeze all threads other than the ones you want to debug.

As stated in the comments, you can also use a conditional breakpoint and set a filter of type ThreadNameToStopOn == Thread.CurrentThread.Name

+1
source

Source: https://habr.com/ru/post/1722733/


All Articles