difference between Trace and Debug ?
Answer Posted / mickey
Debug only works in debug mode and Trace works in debug and
release both mode.
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 ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between ASP Session State and ASP.Net Session State?
What is the use of session?
What is the difference between GridView and Repeater controls in ASP.NET?
What is session start?
What is application and session in asp.net?
What are strong names?
Can you set the session out time manually?
Which is the parent class of the web server control?
What is a gridview in asp.net?
Explain different authentication modes in asp.net?
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
What is the latest version of asp.net?
What is considered a service provider?
Can user control be stored in library?
What is authentication in asp.net?