How to do it...
While many experienced developers grew up sprinkling printf() statements all over their code while debugging, many developers in the 21st century are accustomed to modern IDE development environments that efficiently speed up development time.
In this book, we are using the PyDev Python plugin for the Eclipse IDE.
If you are just starting to use an IDE, such as Eclipse with PyDev, it might be a little bit overwhelming at first. The Python IDLE tool that ships with Python 3.6 has a simpler debugger and you might wish to explore that first.
Whenever something goes wrong in our code, we have to debug it. The first step of doing this is to set break points and then step through our code, line by line, or method by method.
Stepping ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access