What is difference between debug and trace? [Resolved]

Posted by Rajeshatkiit under C# on 12/19/2015 | Points: 10 | Views : 189 | Status : [Member] | Replies : 1
What is difference between debug and trace?


Posted by: Rajnilari2015 on: 12/19/2015 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 50



Debug is used during debugging at the time of application development while Tracing is mainly for logging purpose both in the debug and release mode.

Once the project development is over and is deployed into the UAT/Production server, then we cannot debug and if some error/bug comes, inorder to log that, we use Tracing. So for isolating the production problems and fixing them without disturbing the running system, we write to the log file(s) where we require Tracing.

In other words, Tracing is a kind of mechanism to monitor the health of the real time running application.

There are some posts in DNF already on this topic which we believe will be equally helpful -



Thanks in advance.

Thanks & Regards,
RNA Team

Rajeshatkiit, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response