5.8 Three dubugging Challenges

5.8.1 You get an unexpected error (easiest case).

  • Solution: A traceback is returned
    • Info that points to where the error occurred
    • The interactive debugger is a powerful assistant for this process.

5.8.2 You don’t get any errors

  • Solution: Use the interactive debugger
    • A tool to investigative and track down the root cause.

5.8.3 All the values are correct, but they’re not updated when you expect

  • Solution: Most challenging problem
    • It’s unique to Shiny
    • You can’t take advantage of your existing R debugging skills.