O'Reilly logo

Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) by Priti Kalani, Amit Kalani, Kalani Kirk Hausman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tracing

Tracing refers to instrumenting your application by writing debugging statements in your code. These debugging statements are not removed from your application when it is deployed to production servers; instead, the debugging statement remains functional allowing you to trace unexpected paths of execution in your program. The .NET Framework includes two classes for tracing within the System.Diagnostics namespace: Trace and Debug. These classes derive from the same abstract class and share the same Listeners collection, differing only in the symbol set used for each. These classes are used to diagnose conditions within an application while it is running.

When you compile an application in the default (Debug) configuration, both the DEBUG ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required