.Net - Describe how to step through code in .NET. - June
03, 2009 at 11:00 AM by Shuchi Gauri
Describe how to step through code in .NET.
Steps to step through the code in .NET:
a. Start the program in debug mode.
b. When the first breakpoint is reached then step through can be done in one of
the two ways:
i. Press F10 to move to next line.
ii. Select debug menu and click on step over. This would step over the
breakpoint to next level.
c. Other options are: “Step Into” and “Step Out”.
Also read
How do we step through code?, What are the debugging windows
available?.................
What is Break mode?, What are the options for stepping through code?, What is a
Breakpoint?, Define Debug and Trace Class, Explain how to configure Trace
switches in the application's .config file, What are Trace
switches?................
Debug.Write: Debug Mode, Release Mode (used while debuging a
project)...............
Breakpoints: displays a list of all the breakpoints and where they are.........
Both are used to help programmers find errors, occurring events and flow of
code.........
Trace switches allow us to filter, enable/disable the outputs through Trace. We
can configure them through the config file. 3 types of trace switches:........
switches are configured using the .config file........
|