Debugging and Tracing Statements

Two important programming operations that help you debug and monitor applications are debugging and tracing. Debugging enables you to observe and correct programming errors. Tracing is a form of debugging that enables you to keep track of the health and sanitary conditions of our applications. Whereas debugging provides you with the ability to examine the state of data at any given line of code, tracing enables you to record information from events as they occur. Tracing is an extremely powerful feature and should not be ignored as a potential tool not only for debugging, but also for providing information on test systems during load tests, and much more.

The .NET Framework provides built-in support for various ...

Get Microsoft® Visual C#® .NET 2003 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.