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 are the main advantages of using asp.net?
How is application management and maintenance improved in asp.net 2.0?
What is the significance of ASP.NET routing?
Where are session variables stored?
What is a master page and what does it do?
What is synchronous and Asynchronous post back ?
Differentiate between globalization and localization.
Is viewstate enabled by default?
How can we identify that the page is post back in asp net?
3. What goals do you have in your career?
Where sessions are stored in asp.net?
Explain the boxing and unboxing concept in .net?
What is postback pixel?
What are the advantages of using sql stored procedures instead of adhoc sql queries in an asp.net web application?
Is asp.net free?