Avatar of SaltyDawg
SaltyDawgFlag for United States of America

asked on 

Watch Steps in Visual Studio 2005

Using Visual Studio.Net 2005, is there a way to go back and look at the steps or (procedures called) up to the stop?
.NET ProgrammingEditors IDEs

Avatar of undefined
Last Comment
SaltyDawg
Avatar of nezoic
nezoic
Flag of United States of America image

What exactly are you attempting to do? Are you looking to debug an application in visual studio?

Generally using console.write or a msgbox is the easiest way to test / track the flow of your application.
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

the only automatic list of procedures called is the "Calls Stack" which list the list of procedure that are currently alive.
Avatar of rgn2121
rgn2121
Flag of United States of America image

Avatar of SaltyDawg
SaltyDawg
Flag of United States of America image

ASKER


From what I understand about Call Stack (see my example below) is that once a function is called then returns it is no longer seen in the called stack right? If this is how it works then Call Stack will not give me what I need. I need a list (log like) of each function that I had to go through.
 
In this example Main is always active through the code.
I click Button:
cmdSubmitProductSerial is opened then calls InitValidations. Call Stack shows (Main, cmdSubmitProductSerial, InitValidations)

InitValidations is opened then calls ValidateUser. Call Stack shows (Main, cmdSubmitProductSerial, InitValidations, ValidateUser)

 ValidateUser is opened then calls ValidateUserID. Call Stack shows (Main, cmdSubmitProductSerial, InitValidations, ValidateUser, ValidateUserID)

ValidateUserID is closed. Call Stack shows (Main, cmdSubmitProductSerial, InitValidations, ValidateUser)

ValidateUser is still open and calls ValidateUserStatus. Call Stack shows (Main, cmdSubmitProductSerial, InitValidations, ValidateUser, ValidateUserStatus)

ValidateUserStatus is closed. Call Stack shows (Main, cmdSubmitProductSerial, InitValidations, ValidateUser)

ValidateUser is still open and calls ValidateUserPerm. Call Stack shows (Main, cmdSubmitProductSerial, InitValidations, ValidateUser, ValidateUserPerm)

 ValidateUserPerm is closed. Call Stack shows (Main, cmdSubmitProductSerial, InitValidations, ValidateUser)

ValidateUser is closed. Call Stack shows (Main, cmdSubmitProductSerial, InitValidations)

ValidateProductSerial is opened then calls ValidateProductNumber. Call Stack shows (Main, cmdSubmitProductSerial, InitValidations, ValidateProductSerial, ValidateProductNumber)

 ValidateProductNumber is closed. Call Stack shows (Main, cmdSubmitProductSerial, InitValidations, ValidateProductSerial)

ValidateProductSerial is still open and calls ValidateSerialNumber. Call Stack shows (Main, cmdSubmitProductSerial, InitValidations, ValidateProductSerial, ValidateSerialNumber)

ValidateSerialNumber is closed. Call Stack shows (Main, cmdSubmitProductSerial, InitValidations, ValidateProductSerial)

ValidateProductSerial is closed. Call Stack shows (Main, cmdSubmitProductSerial, InitValidations)

InitValidations is closed. Call Stack shows (Main, cmdSubmitProductSerial)

 IndexProductSerial is opened. Call Stack shows (Main, cmdSubmitProductSerial, IndexProductSerial)

 IndexProductSerial is closed. Call Stack shows (Main, cmdSubmitProductSerial)

 cmdSubmitProductSerial is closed. Call Stack shows (Main)
 
Avatar of SaltyDawg
SaltyDawg
Flag of United States of America image

ASKER

sorry bout the post above didnt seem to format the bullets. hope you understand it.
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Blurred text
THIS SOLUTION IS 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
Avatar of SaltyDawg
SaltyDawg
Flag of United States of America image

ASKER

Thanks that is what I had to do.
.NET Programming
.NET Programming

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.

137K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo