what is diffrence between debug class and trace class in
asp.net ?

Answers were Sorted based on User's Feedback



what is diffrence between debug class and trace class in asp.net ?..

Answer / suresh

Debug class is used for debug builds.
Trace class is used for both debug and release builds.

Is This Answer Correct ?    2 Yes 0 No

what is diffrence between debug class and trace class in asp.net ?..

Answer / naresh

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 ?    1 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

which directive is mandatory in page control

3 Answers   AG Technologies,


What is Difference between Application object and Session Object

5 Answers  


What is the relationship between IIS and ASP.NET in the generation of dynamic Web sites?

1 Answers  


What is localhost in asp.net?

0 Answers  


In asp.net 3.5 we can go one page to onther page without using statemanagment concept?

1 Answers   ANR, Google, TCS,






Define repository pattern in mvc.net? : asp.net mvc

0 Answers  


What is inheritance and an how it be used, example with an example?

0 Answers   Siebel,


hi guys do u know how to go one page to one page to another page plz tell me any of u know

3 Answers  


What is css and what is it used for?

0 Answers  


Why do we use sessions?

0 Answers  


What is the use of directives & explain with example?

2 Answers   C Squared Systems,


Explain different types of validators in asp.net?

0 Answers  


Categories