Self-Review Exercises

C.1

Fill in the blanks in each of the following statements:

  1. When the debugger suspends program execution at a breakpoint, the program is said to be in __________ mode.
  2. The __________ feature in Visual Studio .NET allows you to "peek into the computer" and look at the value of a variable.
  3. You can examine the value of an expression by using the debugger's __________ window.
  4. The __________ command behaves like the Step Into command when the next statement to execute does not contain a method call or access a property.

C.2

State whether each of the following is true or false. If false, explain why.

  1. When program execution suspends at a breakpoint, the next statement to be executed is the statement after the breakpoint.
  2. When a variable's value is changed, the value changes to yellow in the Locals windows.
  3. During debugging, the Step Out command executes the remaining statements in the current method and returns program control to the place where the method was called.

Категории