

That’s because our debugging process will switch from thread to thread, making us repeat debugging process for every new thread and continue debugging process for the previous ones. If we try to debug a code which is called from more than a single thread, that can prove to be quite challenging and time-consuming.

Once we are finished with debugging, we can hit SHIFT+F5 to stop debugging:Ĭlick for the full-screen view Debugging Threads in Visual Studio Finally, instead of the step out button, we can use SHIFT+F11 key combination. To step over the line, we can use the F10 key and instead of the step into a button, we can use F11 key. Once we are in debugging mode, we can navigate through our code by using our mouse and commands that are usually on top of the Visual Studio’s screen:īut, of course, there is a better and faster solution without using a mouse and clicking on those buttons. After that, we can use the F5 key to start our app in a debugging mode. Instead of placing breakpoints with the left mouse click and then selecting the breakpoint option, we can hit the F9 key to insert a breakpoint. There are several techniques which can speed up the debugging process. NET/C# content and get paid? > JOIN US! << Debuggingĭebugging is an inevitable process of software development and even though it helps us a lot to analyze the code, it could be time-consuming if not used properly. Wanna join Code Maze Team, help us produce more awesome. To do that, we can use the ALT+F12 key combination: Then we can simply navigate through the opened window with all the references.įinally, we can examine the member’s definition but without moving to the file this definition exists in. To find all the references for the required member, we can use the SHIFT+F12 key combination. To do that, we can hit the CTRL+F12 key combination.

Instead, we want to see the implementation of a particular member. Once we are done with the definition and want to go back, we can hit CTRL+ – key combination, to return to the location we came from.īut in many cases inspecting the definition of the member isn’t enough for us. And this works well, but the faster and better way is to just place a cursor on that member we want to see the definition for and to hit the F12 button. When we want to see the definition of a member implemented in a class we are currently in, we can do that by right click on that member’s name and then choose the Go To Definition option. Click for the full-screen view Navigation Through the Definition and Implementation
