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
Can any body provide me the sample web application in asp.net
Can you explain the basic use of dataview?
What is paging in context of Memory?
How can we prepairing Interview
What is the difference between the get method () and post method ()?
How many types cache in asp net?
IN an ASP.NET Web application if there is any error, how can you debug?
Explain the disadvantages of viewstate?
What are the different authentication modes in asp.net?
Can you explain one critical mapping? Performance issue which one is better?
Explain different authentication modes in asp.net?
What is base class of button control in .net?
Is asp.net mvc front end or backend? : Asp.Net MVC
What is the differences between a primary key and a unique key in sql server?
What is the use of ASP.NET routing?