Tracing

Implement tracing.

  • Configure and use trace listeners and trace switches.

  • Display trace output.

Instrument and debug a Windows service, a serviced component, a .NET Remoting object and an XML Web service: Create and apply debugging code to components and applications.

The process of testing can reveal the presence of errors in a program, but to find the actual cause of a problem, you sometimes need the program to generate information about its own execution. Analysis of this information may help you understand why the program is behaving in a particular way and may lead to possible resolution of the error.

This process of collecting information about program execution is called tracing. You trace a program's execution in Visual C# .NET by ...

Get MCAD/MCSD Training Guide (70-320): Developing XML Web Services and Server Components with Visual C#™ .NET and the Microsoft .NET Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.