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 loop in asp.net?
Write a code for passing ArrayList in Web API?
How to you can limit Access to Web API to Specific HTTP Verb?
Where is asp.net session stored?
8. Why do you want to work here?
What are cookies in asp.net?
How can you use a custom controls in ASP.NET application?
Is it right that ASP.NET Web API has replaced WCF?
If 200 is for all successful operation then why do we have 201 response codes?
Is there any alternative to avoid name collisions other then Namespaces?
What is the difference between a default skin and a named skin?
What is a session government?
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?
What is the difference between a multi-layer and multi-tier applications?
Explain parts of assembly?