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

Why Global.asax is used?

7 Answers   Perot Systems,


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

0 Answers  


How do you use css in asp.net?

8 Answers   iBridge,


They mostly asked difference between versions of technologies

0 Answers   Mphasis,


Define secured sockets layer.

0 Answers  






what are the types of ASP objects ?

7 Answers   Satyam,


How can we create Tree control in asp.net?

0 Answers  


How do you create master pages in asp.net?

2 Answers   Wipro,


benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks

0 Answers   HCL,


how we can solve machine key error in asp.net?

3 Answers  


How can we use Web API with ASP.NET Web Form?

0 Answers  


Is it necessary to undertsand these events of an ASPX page execute. Explain its importantance?

2 Answers   HCL, Siebel,


Categories