?
Solved

debugging in Visual Studio 2010

Posted on 2013-05-17
1
Medium Priority
?
606 Views
Last Modified: 2013-05-17
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?
0
Comment
Question by:maqskywalker
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 2000 total points
ID: 39175868
You cannot step backwards, but you can drag your "next statement to execute" arrow (the little yellow arrow in the left margin) to previous spots in your current block. In order to see order of execution of methods, you can examine the "Stack Trace" window (Debug->Windows->Call Stack / Ctrl-D, C) to see the current stack of methods that were called up to the breakpoint.

Screenshot
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question