Debugging and Tracing Threads

Apress eBooks · 2006

In this chapter, you’ve seen how the Visual Studio .NET debugger can be used to observe an application’s behavior during its execution. Also, you’ve seen which powerful tools the debugger provides to allow you to examine and change a variable’s value, and more. In the second part of the chapter, we covered the tracing functionality provided by .NET with three classes: Trace, Debug, and Switch. We started listing the most useful tracing functionalities, focusing on the ability to activate tracing techniques by modifying values within the application configuration file. Finally, you saw a practical example where the tracing technique helps developers find and correct bugs and logical errors.

Read the paper · More papers on PaperTik