In This Chapter
Setting, enabling, and disabling breakpoints
Temporarily setting or disabling a breakpoint
Inspecting a variable
Watching all the local variables
Watching any variable
Sometimes, things break. But what we’re talking about here is the code. Now this is one of those instances when a word or phrase has lots of different meanings. Programmers talk about breaking the code. This phrase usually means one of two things. It may mean that the programmer made a mistake and the code no longer works. But in this chapter, we’re using a different definition for the term. When you’re debugging an application, you can have the application run until it gets to a certain line in the code. The debugger then stops at that line, and you can look at the values of variables, inspect the code, or even change the variables. When the application stops, that’s called breaking. The reason it stops on that particular line is because you put a breakpoint ...