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
List the events in page life cycle.
Explain authorization levels in .net ?
Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?
Define repository pattern in mvc.net? : asp.net mvc
What asp.net control can embed xaml into asp.net pages?
How to prepare culture-specific formatting in .net.
What is view state and how it works in asp net?
What are the memory-mapped files?
Can we override the enablepartialrendering property of the scriptmanager class?
How many ways are there to maintain a state in .net? What is view state?
What is validation in asp.net?
What is asp net theme?
Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?
i want the asp.net technical questions and answeres
WSDL means?