Skip to content
UPEEC

Debugging and Profiling

Find bugs and slow spots: debuggers and profilers.

Intermediate
Comments 0

This is an overview — pick a sub-topic below.

Sub-topics (3)

debugpy and pdb

pdb is the built-in debugger; debugpy implements the protocol VS Code uses for remote debugging.

Easy♥ 0🔖 0💬 0

Scalene, Pyinstrument and py-spy

Profilers: Scalene (CPU + memory + GPU, line level), Pyinstrument (readable call trees), py-spy (sample running processes).

Intermediate♥ 0🔖 0💬 0

Memray

A memory profiler that tracks every allocation and produces flame graphs.

Intermediate♥ 0🔖 0💬 0

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.