How it works...

The control buttons shown in the following screenshot allow you to run and/or jump through the code:

Debugger controls

The functions of the control buttons are as follows:

  • Go: This button will execute the code as normal.
  • Step: This button will execute the block of code one line at a time, and then stop again. If a function is called, it will enter that function and allow you to step through that, too.
  • Over: This button is like the Step command, but if there is a function call, it will execute the whole function and stop at the following line.
  • Out: This button will keep executing the code until it has completed the function ...

Get Raspberry Pi 3 Cookbook for Python Programmers - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.