difference between Trace and Debug ?

Answers were Sorted based on User's Feedback



difference between Trace and Debug ?..

Answer / alb.shah

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

Is This Answer Correct ?    6 Yes 2 No

difference between Trace and Debug ?..

Answer / pallavi

The Debug.Write call won’t be compiled when the DEBUG symbol is not defined (when doing a release build). Trace.Write calls will be compiled. Debug.Write is for information you want only in debug builds, Trace.Write is for when you want it in release build as well.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Explain the main differences between asp and asp.net?

0 Answers  


Where we create sessions for Banking Applications and how to create? expalin with code?

1 Answers   Wipro,


What is bson in web api?

0 Answers  


Compare and contrast between inline and code behind - which one is best?

2 Answers   Siebel,


How do you register JavaScript for webcontrols ?

1 Answers  






.net allows which inheritence

6 Answers   AG Technologies, Samcomm,


Suppose i create one application in vs 2008 and it is running in the latest version of IE,will it run in netscape and other browsers with low version?

2 Answers   Wipro,


Can we handle the error and redirect to some pages using web.config?

1 Answers   BirlaSoft,


What is asp.net and how it works?

0 Answers  


Why do we need asp.net?

0 Answers  


In this case if exception occure in Database which catch block will be exexcuted?

1 Answers   Microsoft,


What is custom attribute? How to create?

0 Answers  


Categories