Help to debug in visual studio

Asked

Viewed 198 times

0

Is there any way in the visual studio from one breakpoint to another kind of thing that’s between them?

I have a giant and complex system, which almost always gets as far as I want, and it is necessary to go through screenshots. So, for me to take a test on one page, I spend a lot of time going through other, inserting data, connecting to bank ...

If anyone has any tips on how I can do it, or how you do it.

Use the visual studio 2012.

1 answer

1


If you press the F9 (Toggle Breakpoint) with the selected line you place a breakpoint, pressing F9 again you take the breakpoint.

Shortcuts if you hit the breakpoint:
F10: to go jumping line by line by high (Step Over)
F11: to jump and analyze within the code (Step Into)
F5: to jump to the next breakpoint (Continue)

CTRL+ALT+B: opens the window that shows the breakpoints, is useful for navigation and to clear breakpoints that you are not analyzing anymore

You already know the code workflow?
If not, you’ll have to understand, go at least once through all the steps and putting breakpoints where you want to analyze. When I debug and have a for for example, I put a breakpoint closer to the future point where I want to analyze and give continue (F5) then you jump from breakpoint to breakpoint and avoid being surrounded in a loop that depending on the size of the list, it would take a good time.

inserir a descrição da imagem aqui

Extra:
inserir a descrição da imagem aqui
You can also filter your breakpoints through conditions by checking the values of the variables according to your need.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.