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 a query string in a url?
Why we use asp.net for website development?
What is rich control in asp.net?
Explain the difference between asp and asp.net?
What is session start?
Is data edited in the Repeater control?
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.
Describe state management in asp.net?
What would be salary for 8+ years of experience in ASP.NET in different metro city in india?
Explain what is the procedure to create the environment for asp.net? : asp.net mvc
What is the difference between equals() and == in c#?
Where the viewstate is stored after the page postback?
What is state management in asp.net with example?
when a request is made in Life cycle of ASP.NET page .
What is difference between rest and soap?