Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What?s the difference between the Debug class and Trace class?

Answers were Sorted based on User's Feedback



What?s the difference between the Debug class and Trace class?..

Answer / abhi

Documentation looks the same. Use Debug class for debug
builds, use Trace class for both debug and release builds.

Is This Answer Correct ?    5 Yes 0 No

What?s the difference between the Debug class and Trace class?..

Answer / kabita

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 ?    0 Yes 3 No

Post New Answer

More C Sharp Interview Questions

What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?

0 Answers  


6. If we assign a value in textbox on Page_UnLoad event, will it display?

2 Answers   Mphasis,


can we drive a class from delegate?

4 Answers   InterGraph,


What is interface inheritance in c#?

0 Answers  


what is boxing and unboxing?can we initialize unboxing directly?

0 Answers   EDS,


What is difference between array and collection?

0 Answers  


Is c# and c same?

0 Answers  


What is the functionality of break and continue in Visual Studio?

2 Answers   JPMorgan Chase,


What is the interface in c#?

0 Answers  


What is lazy keyword in c#?

0 Answers  


What is the example of predicate?

0 Answers  


What is a collection class in c#?

0 Answers  


Categories