Interview questions

.Net - Steps to step through the code in .NET

Next question>>           Learn .NET
.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”.

Next question>>

Also read

.NET debugging tools

How do we step through code?, What are the debugging windows available?.................

.NET debug and trace classes

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?................

What is the difference between Debug.Write and Trace.Write?

Debug.Write: Debug Mode, Release Mode (used while debuging a project)...............

Describe the debugging windows available in .NET.

Breakpoints: displays a list of all the breakpoints and where they are.........

What are Debug and Trace classes? Explain how to use them to display error classes.

Both are used to help programmers find errors, occurring events and flow of code.........

Describe how to create Trace Listeners and log Trace output.
What are Trace switches? Describe how to create and use Trace switches.

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:........

Explain how to configure Trace switches in the application’s .config file.

switches are configured using the .config file........ 



Write your comment - Share Knowledge and Experience


 

 
Latest placement tests
Latest links
 
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring