Débogueur et instrumentation
****************************

Ces bibliothèques sont là pour vous aider lors du développement en
Python : Le débogueur vous permet d'avancer pas à pas dans le code,
d'analyser la pile d'appel, de placer des points d'arrêts, … Les
outils d'instrumentation exécutent du code et vous donnent un rapport
détaillé du temps d'exécution, vous permettant d'identifier les
goulots d'étranglement dans vos programmes.

* "bdb" — Framework de débogage

* "faulthandler" --- Dump the Python traceback

  * Dumping the traceback

  * Fault handler state

  * Dumping the tracebacks after a timeout

  * Dumping the traceback on a user signal

  * Issue with file descriptors

  * Exemple

* "pdb" — Le débogueur Python

  * Commande du débogueur

* The Python Profilers

  * Introduction to the profilers

  * Instant User's Manual

  * "profile" and "cProfile" Module Reference

  * The "Stats" Class

  * What Is Deterministic Profiling?

  * Limitations

  * Calibration

  * Using a custom timer

* "timeit" — Mesurer le temps d'exécution de fragments de code

  * Exemples simples

  * Interface Python

  * Interface en ligne de commande

  * Exemples

* "trace" --- Trace or track Python statement execution

  * Utilisation en ligne de commande.

    * Main options

    * Modifiers

    * Filters

  * Programmatic Interface

* "tracemalloc" --- Trace memory allocations

  * Exemples

    * Display the top 10

    * Compute differences

    * Get the traceback of a memory block

    * Pretty top

  * API

    * Fonctions

    * DomainFilter

    * Filter

    * Frame

    * Snapshot

    * Statistic

    * StatisticDiff

    * Trace

    * Traceback
