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

Which is faster viewbag or viewdata?

0 Answers  


What is query string in asp.net?

0 Answers  


Explain the difference between debug.write and trace.write? When should each be used?

0 Answers  


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

0 Answers  


Tell About Global.asax ?

3 Answers   Keane India Ltd,


In asp.net, how can you validate drop down box?

0 Answers   Accenture,


What is the purpose of asp.net?

0 Answers  


what is the use of asp.net

3 Answers   ABC,


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

1 Answers  


Why do we use Option Explicit?

2 Answers   Microsoft,


How can exception be handled with out the use of try catch?

0 Answers  


Explain the features that make asp.net more used framework? : asp.net mvc

0 Answers  


Categories