ADBRITE ads links
You are here: CodeIdol.com > C# > Learning C# 2005 > Basic Debugging
Learning C# 2005
| 9.1. Setting a Breakpoint
To get started with the debugger, return to Example 8-1. You'll be putting a breakpoint on the first line of Main( ) to see how this code actually works. A breakpoint is an instruction to the debugger to st...
|
|
| 9.2. Examining Values: The Autos and Locals Windows
Look at the tabs below the code window; you'll find a Locals window
and an Autos window
. Both of these display your local variables. The difference is that ...
|
|
| 9.3. Set Your Watch
When you're debugging a program with many local variables, you usually don't want to watch all of them; you only need to keep track of a few. You can track specific variables and objects in the Watch window
...
|
|
| 9.4. The Call Stack
As you step in and out of methods, the Call Stack window
keeps track of the order and hierarchy of method calls
. Figure 9-15 shows a close-up picture of the Call Stack window. You can see that the Tim...
|
|
| 9.5. Summary
Visual Studio 2005 includes a powerful debugger that lets you step through your program and examine the value of variables and objects as methods execute.You can set breakpoints in your code, which causes execution to stop when it rea...
|
|
| 9.6. Quiz
Question 91.
What is the easiest way to set a breakpoint?
Question 92.
How do you step over or into a method?
Question 93.
How can you disable breakpoints, and set conditions on breakpoints?
Question 94.
What is the differ...
|
|
You are here: CodeIdol.com > C# > Learning C# 2005 > Basic Debugging
|
|
Related tags
Popular Categories
Unix books and guides
AJAX popular information
C# language guides
Windows books and cookbooks
.......
|
|