Skip to main content

ESP IDF panic decoder

The esp-idf-panic-decoder is a Python-based, open-source package that is part of the ESP-IDF SDK for Espressif products.

The main part is a script that parses ESP-IDF panic handler output (registers & stack dump), and then acts as a GDB server over stdin/stdout, presenting the information from the panic handler to GDB. This allows for generating backtraces out of raw stack dumps on architectures where backtracing on the target side is not possible.

Contributing

Code Style & Static Analysis

Please follow these coding standards when writing code for esp-idf-panic-decoder:

Pre-commit checks

pre-commit is a framework for managing pre-commit hooks. These hooks help to identify simple issues before committing code for review.

To use the tool, first install pre-commit. Then enable the pre-commit and commit-msg git hooks:

python -m pip install pre-commit
pre-commit install -t pre-commit -t commit-msg

On the first commit pre-commit will install the hooks, subsequent checks will be significantly faster. If an error is found an appropriate error message will be displayed.

Conventional Commits

esp-idf-panic-decoder complies with the Conventional Commits standard. Every commit message is checked with Conventional Precommit Linter, ensuring it adheres to the standard.

License

This document and the attached source code are released as Free Software under Apache License Version 2. See the accompanying LICENSE file for a copy.

Metadata

Release files for esp-idf-panic-decoder 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for esp-idf-panic-decoder 1.5.0
File Size Uploaded
esp_idf_panic_decoder-1.5.0.tar.gz 21.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for esp-idf-panic-decoder 1.5.0
File Interpreter ABI Platform
esp_idf_panic_decoder-1.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 43.3 kB

Release files / esp_idf_panic_decoder-1.5.0.tar.gz

Download URL esp_idf_panic_decoder-1.5.0.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7b093f7a1ba5fdfd77e42a960487b5a433f60dcdabf38cc98176f291fc3a88fb
BLAKE2b-256 checksum
How to use checksums
daf1e4d6170a51e15afd27660992fbd2a4728cf401750ebb388b1ce035d95025
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / esp_idf_panic_decoder-1.5.0-py3-none-any.whl

Download URL esp_idf_panic_decoder-1.5.0-py3-none-any.whl
Size 21.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c711abafb99efdc343e19c45b6416b14a863fbe29115fafa8264cefaab85b8ea
BLAKE2b-256 checksum
How to use checksums
df0a0d9117c0f1cd521e4e5f1c7e1b12fd2009ad7878ae593650e87cd67a896e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page