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

What is asp net_sessionid?

1145


Is react a template engine?

972


Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?

2854


What are the features of asp.net mvc?

1041


What are the difference between function and stored procedure in .net programming language?

763


What are the difference between overriding and overloading?

1158


How to make paging concepts in datagrid in ASP.NET?

1070


What is asp.net introduction?

1054


What is the postback property in asp.net?

1034


What are the new web part controls in asp.net 2.0 ?

1104


Can we store object in viewstate?

1018


how to include timer or counting time to display next page in asp.net

2198


Are xaml file compiled or built on runtime?

1018


Whats the difference between abstract factory pattern and factory pattern?

1072


Give me one example of Web API Routing?

1133