Python: Introduction to Debugging

Lab Steps

lock
Web IDE Review
lock
Caveman Debugging
lock
Logging
lock
Introduction to PDB
lock
Development Workflow
lock
Post mortem
lock
Summary

The hands-on lab is part of this learning path

Ready for the real environment experience?

DifficultyIntermediate
Time Limit2h
Students12
Ratings
5/5
starstarstarstarstar

Description

Learn different ways to debug Python applications.

Debugging is a natural part of the development process. The ability to effectively debug a Python application is a valuable skill for Python developers.

This lab introduces three means of debugging in Python:

Learning Objectives

  • Caveman debugging
  • The Logging module
  • The Python debugger

Prerequisites:

  • Familiarity with the Python runtime
  • Familiarity with the Python language syntax
  • Familiarity with callables
  • Familiarity with classes

Target Audience

  • Python Developers
About the Author
Students94776
Labs26
Courses44
Learning paths57

Ben Lambert is a software engineer and was previously the lead author for DevOps and Microsoft Azure training content at Cloud Academy. His courses and learning paths covered Cloud Ecosystem technologies such as DC/OS, configuration management tools, and containers. As a software engineer, Ben’s experience includes building highly available web and mobile apps. When he’s not building software, he’s hiking, camping, or creating video games.

Covered Topics