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


Please Help Members By Posting Answers For Below Questions

What does postback mean?

535


What is difference between or and orelse?

545


How do I use response redirect?

556


How can u debug your .net application?

576


What is difference between session and cookies?

543






Where sessions are stored in asp.net?

532


How can you display all validation messages in one control?

547


List the advantages and disadvantages of user control an custom control?

534


How can you identify that the page is post back?

552


What are web server controls in asp.net?

548


Difference between overriding and overloading?

699


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?

566


Explain how asp.net different from asp?

557


Explain difference between dataset and recordset?

500


Explain the working of passport authentication.

541