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...

difference between Trace and Debug ?

Answer Posted / mickey

Debug only works in debug mode and Trace works in debug and
release both mode.

system.Diagnostics

namespace contains the Debug and Trace classes that include
shared methods.

The diffetrnce between these two classes is in the way Trace
and Debug statements are treated at the of creating a
release bulid.

Trace statements are included by default when the program is
compiled in to release build,where as debug statements are
not.The Debug class is used for debugging,however, the Trace
class is used for testing and optimization even after an
application is compiled and released.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how does asp page work?

964


Define asp.net caching?

1095


What is routing in MVC?

984


Can you explain the basic use of dataview?

1020


What is semantic gap?

968


Can you change a master page dynamically at runtime? How?

882


What are Session states available and its Uses?

2174


Explain the basic functionality of garbage collector?

939


What does asp stand for in asp.net?

941


What are the contents of cookie?

1064


What is syntax code to send email from an asp.net application?

979


What is distributed system in asp.net?

989


What is the mvc framework?

959


Can more than one person use the same login?

928


What is the use of the tag in the web.config file?

913