Rechercher

PythonReactSEOPDF
GitHub Skill

python-monitoring-trace

Use when you need a detailed execution trace of a Python script using sys.monitoring, including logging every operation with include/exclude event controls.

ahupp☆ 0 Étoiles du dépôt0 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

Python Monitoring Trace

  • Run the helper with python scripts/monitor_trace.py path/to/script.py -- arg1 arg2.
  • List available events with --list-events and choose events by name.
  • Include only specific events with --include LINE,INSTRUCTION (comma-separated or repeatable).
  • Exclude events with --exclude C_RETURN,C_RAISE (comma-separated or repeatable).
  • Write logs to a file with --output trace.log; omit --output to write to stdout.

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-01-20
Mise à jour de l’index
2026-01-26
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!