difference between Trace and Debug ?
Answer Posted / rameez.s
Debug Class provides a set of methods and properties that
help debug your code. If you use methods in the Debug class
to print debugging information and check your logic with
assertions, you can make your code more robust without
impacting the performance and code size of your shipping
product. In Visual Studio 2005 projects, creating a debug
build enables Debug.
You can use the properties and methods in the Trace class to
instrument release builds. Instrumentation allows you to
monitor the health of your application running in real-life
settings. Tracing helps you isolate problems and fix them
without disturbing a running system.
In Visual Studio 2005 projects, Trace is enabled by default
for both release and debug builds, so code is generated for
all trace methods in both release and debug builds.
Therefore, you can use Trace to instrument release builds.
Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
Why is global asax is used for?
a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?
What are the different types of cookies in asp.net?
To get the values in two different controls to match which control you use it?
Explain a program using code nuggets to create a simple application? : asp.net mvc
How can we update records in gridview?Is there any appropriate code for it?
What is content page in asp net?
Explain about Application and Session Events ?
What is session object? Describe in detail.
How should I destroy my objects in asp.net?
What is the differences between a primary key and a unique key in sql server?
Can we make activex dll also ti execute in some process as that of client ? How can we do?
How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?
If 200 is for all successful operation then why do we have 201 response codes?
What is cookieless session id explain in brief?