Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Debugging

Squash one bug and two more may appear.

Outline

  • Recursion
  • debugWire
  • Breakpoints
  • Watchpoints
  • Mutating memory
  • Evaluating expressions

Exercises

  1. Implement Fizz Buzz up to a number specified over the serial console.

  2. Create a recursive factorial function. This function should be able to at least successfully calculate 10 factorial.