difference between Trace and Debug ?
Answer Posted / leela mohan
The system.Diagnostics namespace contains the Debug and
Trace classes that include shared methods.
The diffetrnce between these two classes is in the way
Trace and Debug statements are treated at the of creating a
release bulid.
Trace statements are included by default when the program
is compiled in to release build,where as debug statements
are not.The Debug class is used for debugging,however, the
Trace class is used for testing and optimization even after
an application is compiled and released.
Is This Answer Correct ? | 33 Yes | 8 No |
Post New Answer View All Answers
What are the server controls in asp.net?
In how many ways we can retrieve table records count?
What is the difference between web.config and machine.config in ASP.NET?
What are the two properties that are common on every validation control?
What are resource file and how do we generate resource file?
Describe how to implement globalization and localization in the use interface in .net.
Explain how can we inherit a static member?
What is the Intermittent crashing of application in production?
How can you access the properties and controls of master pages from content pages?
What is session management in web application?
What is csrf attack in asp.net?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?
IN an ASP.NET Web application if there is any error, how can you debug?
What is difference between URL and URI?