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 does postback mean?
What is difference between or and orelse?
How do I use response redirect?
How can u debug your .net application?
What is difference between session and cookies?
Where sessions are stored in asp.net?
How can you display all validation messages in one control?
List the advantages and disadvantages of user control an custom control?
How can you identify that the page is post back?
What are web server controls in asp.net?
Difference between overriding and overloading?
If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?
Explain how asp.net different from asp?
Explain difference between dataset and recordset?
Explain the working of passport authentication.