views:

140

answers:

1

I try to debug several applications that communicates with each other - and want to have ability to step over without switching to another process/thread. So Visual Studio has command "Step Over Current Process (Ctrl-Alt-F10)" - which looks like what I want but it's disabled, why?

I've found the same question but for C++: http://stackoverflow.com/questions/336628/step-over-when-debugging-multithreaded-programs-in-visual-studio

So write macros is only way for .net too?

A: 

My understanding is there is no real way to do this in visual studio. Unlike Eclipse :D. The best you can do is use the Threads debug window to freeze all threads other than the one you want to debug.

As stated in the comments you can also use a conditional break point and set a filter like "ThreadNameToStopOn" == Thread.CurrentThread.Name

mfalto