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 asp net_sessionid?
Is react a template engine?
Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?
What are the features of asp.net mvc?
What are the difference between function and stored procedure in .net programming language?
What are the difference between overriding and overloading?
How to make paging concepts in datagrid in ASP.NET?
What is asp.net introduction?
What is the postback property in asp.net?
What are the new web part controls in asp.net 2.0 ?
Can we store object in viewstate?
how to include timer or counting time to display next page in asp.net
Are xaml file compiled or built on runtime?
Whats the difference between abstract factory pattern and factory pattern?
Give me one example of Web API Routing?