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 can we display records in single datagrid using two datasets in different place?

2 Answers   Global Computer, Honeywell,


Write some code using interfaces, virtual methods, and an abstract class`

0 Answers  


Explain server-side scripting?

0 Answers  


What is the need of client side and server side validation ?

1 Answers   Keane India Ltd,


Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc

0 Answers  






How many types of cookies are there in asp.net?

0 Answers  


What is razor? : asp.net mvc

0 Answers  


Explain what is clr?

0 Answers  


Difference between ISQL and OSQL??

1 Answers  


what are partial classes and their use?

1 Answers   Patni,


How ViewstateMac works?

0 Answers   CGI,


How are sessions stored?

0 Answers  


Categories