Skip to content

Science-Reproducibility/python-debugging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to debugging in Python

Welcome to the introduction to debugging in Python. This course does not require any prior knowledge of debugging, but it does require a basic knowledge of Python.

Since we will be using GitHub and GitHub Skills templates, I strongly suggest completing two GitHub skills courses:

Course format

The entire course will have 3 parts or steps, each step will have multiple sections that will require reading short text or specific section from the external sources, watching a short video or practicing your knowledge in hands-on activities. Every step should take no more than 1--2, hours and significantly less if you have prior experience.

Part 1

  • what are the Python errors and exceptions?
  • how to read Python traceback?

Part 2

  • what is debugging?
  • debugging tools and methods

Part 3

  • introduction to debugging with pdb

How to start this course

start-course

  1. Right-click Start course and open the link in a new tab.
  2. In the new tab, most of the prompts will automatically fill in for you.
    • For owner, choose your personal account or an organization to host the repository.
    • We recommend creating a public repository, as private repositories will use Actions minutes.
    • Scroll down and click the Create repository button at the bottom of the form.
  3. After your new repository is created, wait about 20 seconds, then refresh the page. Follow the step-by-step instructions in the new repository's README.

Get help: Submit an issue

Acknowledgment: This work was supported by the Better Scientific Software Fellowship Program, a collaborative effort of the U.S. Department of Energy (DOE), Office of Advanced Scientific Research via ANL under Contract DE-AC02-06CH11357 and the National Nuclear Security Administration Advanced Simulation and Computing Program via LLNL under Contract DE-AC52-07NA27344; and by the National Science Foundation (NSF) via SHI under Grant No. 2327079.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published