Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books
Content
NET framework
NET assembly
NET code security
NET access modifiers
NET architecture
NET base class library
NET CLR
NET constants,enum,arrays
NET data types
NET menu
NET garbage collection
NET debug and trace
NET properties
NET form
NET assemblies & resources
NET class & structures
NET binding,viewing,filtering
NET configuring & optimizing
NET configuring setup project
NET constructors & destructors
NET control
NET dataset objects
NET debugging tools
NET debug & trace classes
NET delegates & events
NET exception handling
NET globalization-localization
NET interoperability
NET project deployment
NET securing application
NET using XML
NET validating user input
NET windows communication
NET windows presentation
NET windows workflow
 
ASP.NET
C#.NET
VB.NET
AJAX
 
PHP
 
C
C++
Java
Data Structure
Oops
 
Database concepts
SQL Server
Oracle
MySQL
Data warehousing
Service-oriented architecture
SQL Server notification services
SQL Server Reporting Services
Sharepoint
Biztalk interview questions
 
Operating System
Project Management
Linux
Testing
Networking
Software engineering
 
UML
XML
HTML
SOAP
CSS
VBScript
 
CV tips
Cover letter tips
Interview tips
Human resources
Soft skills
Group discussion

.NET debug and trace classes


.NET debug and trace classes - Interview questions

<<Previous  Next>>

.NET debug and trace classes - August 25, 2008 at 18:00 PM by Amit Satpute

What is Break mode?

Answer
When changes are made to the code in an application, the way to be able to view how those changes have changed the way of execution is Break Mode. In break mode, a snapshot of the running application is taken in which the status and values of all the variables is stored.     

What are the options for stepping through code?     

Answer
The applications consist of various activities which need to be performed during the execution. Some of them are composite activities which need to be executed in parallel or conditionally. These activities are classified as ParallelActiviy and ConditionalActivity.

The two options of debugging handle these activities differently as follows:

Branch stepping:
In this, when the control gets transferred to another concurrent activity, it happens without being noticed. Only the activities in the currently selected branch are stepped through although other activities in the workflow may be executing concurrently. If you want to debug any concurrent activity, then a breakpoint needs to be placed appropriately. Stepping continues in that branch when the breakpoint is triggered.

Instance stepping:
In this, you can step through as well as debug the concurrent activities. You can even notice the change in control that occurs when concurrently executing activities get executed. Instance stepping option should be chosen while debugging state machine workflows.

What is a Breakpoint?

Answer
Using Breakpoints you can break or pause the execution of an application at a certain point.

A breakpoint with an action associated with it is called a ‘tracepoint’. Using tracepoints, the debugger can perform additional actions instead of having an application only enter a break mode.

Define Debug and Trace Class.

Answer
Debug Class (System.Diagnostics)
It provides a set of methods and properties that help debug your code. This class cannot be inherited.

Trace Class (System.Diagnostics)
It provides a set of methods and properties that help you trace the execution of your code. This class cannot be inherited. For a list of all members of this type, see Trace Members.

What are Trace switches?

Answer
Trace switches are used to enable, disable and filter the tracing output. They are objects can be configured through the .config file.


October 30, 2008 at 18:10 pm by Amit Satpute

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

Switches are configured using the .config file.
Trace switches can be configured in an application and the trace output can be enabled or disabled.
Configuring involves changing the value of the switch from an external source after being initialized.
The values of the switch objects can be changed using the .config file.


<<Previous  Next>>


 
Today's Hot Jobs
C++  SQL Server
.NET  Java  Oracle
Finance  Marketing
Seekers  Employers
Copyright © 2008 CareerRide.com. All rights reserved.