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

How are sessions stored?

0 Answers  


What is CTS, CLS and CLR ?

20 Answers   CGI, Palm Technology, Reliable Technology, Satyam, Synergy, TCS,


How does session authentication work?

0 Answers  


Differentiate globalization and localization.

0 Answers  


Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?

0 Answers  






What is the difference between session and application?

0 Answers  


What the use of Form Authentication and windows Authentication?

1 Answers   NetCity, TCS,


i want to develope a page for online test using asp.net with c#.net. so, how to insert the questions in the database sqlserver2000 and how to pick the questions randomly when user login for test. plz send the code for this....

3 Answers   Chaitanya, Crysalis, CTS, HCL, Sein Infotech, TCS,


Where code pages are used?

0 Answers   Blue Star,


Which namespace do the classes, allowing you to support COM functionality, are located?

1 Answers  


under which namespaces connection strings can be defined?

4 Answers  


Take one textbox if I am inputting abc alphabet in capital letter or in small letter on the button click it will be bcd or if I enter 123 and it would be 234 like that in ASP.NET?

3 Answers   DNS,


Categories