difference between Trace and Debug ?
Answer Posted / chauhan rakesh botad
Trace and Debug classes :
Fortunately, you do not have to step through an application
line by line to figure out what is happening.
The Systems.Diagnostics namespace includes Trace and Debug
classes.
These two classes (which are essentially identical) include
a number of static methods that can be used to cause your
code to gather information about code-execution paths, code
coverage, and even performance profiling. Both classes also
provide an Assert method that checks for a condition and
displays a message if the condition is false.
Tracing : Tracing is actually the process of collecting
information about the program's execution.
Debug : Debugging is the process of finding & fixing errors
in our program.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Explain the use of duration attribute of @outputcache page directive.
What is the function of new view engine in asp.net? : asp.net mvc
What is state management technique?
Is asp.net mvc front end or backend? : Asp.Net MVC
What is cross page posting? How is it done?
What is the use of service provider?
Is asp.net a programming language or framework?
Differentiate between authentication and authorization.
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
Difference between response.redirect and server.transfer?
Describe a bubbled event and how it is used ?
What is the difference between sealed vs static class?
Which browsers support the xmlhttprequest object?
what is silver light when will we use silver light,
How do session tokens work?