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
What is the good practice to implement validations in aspx page?
COM+ Used ________________ Isolation Level
What is query string in asp.net?
Explain the disadvantages of viewstate?
Explain about Application and Session Events ?
Explain the difference between value type and reference type?
How Session outproc in Sqlserver stored?
What is server side session?
What are directives in asp.net?
What is http session state?
How does a content page different from a master page?
What is the main function of url routing system in asp.net mvc? : asp.net mvc
How do I use a proxy server when invoking a web service?
In a Repeater control how one can provide an alternating color scheme ?
What is the typical session identifier?