Self-Review Exercises

M.1

Fill in the blanks in each of the following statements:

  1. A breakpoint cannot be set at a(n)___________.
  2. You can examine the value of an expression by using the debugger's ___________ command.
  3. You can modify the value of a variable by using the debugger's ___________ command.
  4. During debugging, the ___________ command executes the remaining statements in the current function and returns program control to the place where the function was called.
  5. The debugger's ___________ command behaves like the step command when the next statement to execute does not contain a function call.
  6. The watch debugger command allows you to view all changes to a(n)___________.
M.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. Watches can be removed using the debugger's remove command.
  3. The -g compiler option must be used when compiling programs for debugging.




C++ How to Program
C++ How to Program (5th Edition)
ISBN: 0131857576
EAN: 2147483647
Year: 2004
Pages: 627
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net