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 is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?
Describe session handling in a webfarm, how does it work and what are the limits?
Name the tools or API for developing or testing web api?
What is razor? : asp.net mvc
What is side-by-side execution? Can two applications, one using a private assembly and other using a shared assembly, be stated as side-by-side executables?
how to debug web services on consumer side?
What is the difference between GridView and Repeater controls in ASP.NET?
What is the mvc model?
What is the maximum number of classes that can be contained in one dll file?
What is the use of execute non query in asp.net?
How can we prepairing Interview
What is the use of web.config and machine.config files?
What is the usie of activex control in .net?
Can the unique key be null?
What are the events that happen when a client requests an asp.net page from iis server?