Avatar of maqskywalker
maqskywalker
 asked on

debugging in Visual Studio 2010

Hi experts,

In Visual Studio 2010 when I'm debugging a Windows Forms application I set a breakpoint on a certain line of code.
Then when click F5 to start debugging the application the application starts up and runs until it hits my line of code where I set my breakpoint.

Once it stops at my breakpoint I can either do one of the following:

click F5 (to Start Debugging again)
click F8 (Step Into)
click Shift + F8 (Step Over)
click Ctrl+Shift+F8 (Step Out)

When I choose either Start Debugging, Step Into, Step Over, Step Out these operations go forward in my application execution.
What I mean is, if I set my breakpoint at line 9, and then click Step Into, then the next line that gets executed is line 10 and then line 11 and so forth.

So my question is this:

Is there a way to set a breakpoint and then Step Into but go backwards?

or

Is there a way to see a list of execution order of certain methods that are run when my application starts up?

See in my windows forms application that i'm testing, when the application is launched,
a login form comes up.
Once you log in, then the application checks your login credentials against a database and if you are successfully validated then you are taken to the main form.

I want to see all the forms or classes that are hit between the time the user enters their credentials and the time the main form launches after validation is successful?
.NET ProgrammingVisual Basic.NET

Avatar of undefined
Last Comment
kaufmed

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
kaufmed

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23