Other debugging techniques


show more Other debugging techniques provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Visual Studio 2010 Essential Training show less
please wait ...

Other debugging techniques

Continuing our quest to master the debugging tools in Visual Studio, I am going to cover trace points, attaching a debugger to a running process, and debugging a web site. So let's get started! I am inside the solution called OtherDebuggingTechniques, and it contains two projects: AttachToConsole and DebugWebApp. I am going to start by showing you something called a tracepoint. To do that, I am going to double-click on this Program.cs. If you've watched the other movies in this chapter, you know that you can add a breakpoint by clicking in this margin or pressing F9.

A breakpoint is hit if you're attached to it debugger, and you run this line of code. It will then stop and let you look at your code. A tracepoint is similar to a breakpoint. When you establish a tracepoint, you also specify additional action that can be taken when it is hit. Let me show you. I am going to right-click on this breakpoint and choose When Hit. Now, it doesn't actually say the word "tracepoin...

Other debugging techniques
Video duration: 6m 50s 8h 9m Intermediate

Viewers:

Other debugging techniques provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Visual Studio 2010 Essential Training

please wait ...