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

Explain asp.net web forms.

566


What is the difference between visual basic and asp.net?

522


Is sql backend or frontend?

559


Do you know caching feature?

566


What are url fragments?

506






Explain what is viewstate?

543


What are the various ways to send content from one page to another?

524


Explain the features that make asp.net more used framework? : asp.net mvc

485


Where is http session stored?

503


What are the advantages of using Master Pages?

603


What are the session variables?

516


Explain about asp.net 2.0 themes?

557


What is dynamic web page with example?

526


What is the mvc model?

581


Explain the difference between overriding and overloading?

545