Skip to content

Puhti and Mahti computing services have been decommissioned. Puhti and Mahti login nodes and storage services will remain available until 15 October 2026, but are no longer covered by service contracts. Please clean up and migrate your data to Roihu ASAP. See Roihu data migration guide for instructions.

pdb: Python debugger

Available

  • Mahti: Any Python version
  • Puhti: Any Python version
  • Roihu-CPU: Any Python version
  • Roihu-GPU: Any Python version

License

Usage is possible for both academic and commercial purposes.

Usage

pdb is an in-built Python debugger that supports breakpoints, stepping through the source line by line, inspection of stack frames, source code listing, etc.

In order to use the tool, launch first an interactive session and start then your Python program under the debugger:

python -m pdb myscript.py

Running pdb will open the prompt which supports various commands such as where, down, up, up, break, step, next, jump, list.