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 to transpose rows into columns and columns into rows in a multi-dimensional array ?

1 Answers   Microsoft,


what is difference between const, static and readonly?

2 Answers   TVS,


hi im shailendra singh my question is how we deploye the data base

3 Answers   HCL,


What three Session State providers are available in ASP.NET 1.1? What are the pros and cons of each ?

1 Answers  


What is difference between URL and URI?

0 Answers   MCN Solutions,






What are Sticky Sessions?

2 Answers   Infosys,


What is master page in dtp?

0 Answers  


How we can set Different levels of Authentication in .Net? What are the difference between Windows Authenticatin, Passport Authentication and Form Authentication?

1 Answers  


What is the usie of activex control in .net?

0 Answers  


Authentication and Authorization

2 Answers   Syntel,


Explain what does wsdl stand for?

0 Answers  


How can we access static variable?

0 Answers  


Categories