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
Explain how does asp page work?
Define asp.net caching?
What is routing in MVC?
Can you explain the basic use of dataview?
What is semantic gap?
Can you change a master page dynamically at runtime? How?
What are Session states available and its Uses?
Explain the basic functionality of garbage collector?
What does asp stand for in asp.net?
What are the contents of cookie?
What is syntax code to send email from an asp.net application?
What is distributed system in asp.net?
What is the mvc framework?
Can more than one person use the same login?
What is the use of the tag in the web.config file?