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?
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Most Valuable Expert award recognizes technology experts who passionately share their knowledge with the community, demonstrate the core values of this platform, and go the extra mile in all aspects of their contributions. This award is based off of nominations by EE users and experts. Multiple MVEs may be awarded each year.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.