{"id":19634306,"url":"https://github.com/s60sc/espcrashdecoder","last_synced_at":"2026-05-15T06:08:21.146Z","repository":{"id":186510129,"uuid":"631074364","full_name":"s60sc/EspCrashDecoder","owner":"s60sc","description":"The EspCrashDecoder is a standalone ESP exception decoder for use with the Arduino v2.x IDE.","archived":false,"fork":false,"pushed_at":"2024-04-24T12:36:27.000Z","size":159,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-26T21:29:27.764Z","etag":null,"topics":["arduino","arduino-esp32","esp32","espexceptiondecoder"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s60sc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-21T21:33:14.000Z","updated_at":"2024-04-24T12:36:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ff1a77b-2a49-4098-aba1-a4475576cf1b","html_url":"https://github.com/s60sc/EspCrashDecoder","commit_stats":null,"previous_names":["s60sc/espcrashdecoder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/s60sc/EspCrashDecoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s60sc%2FEspCrashDecoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s60sc%2FEspCrashDecoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s60sc%2FEspCrashDecoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s60sc%2FEspCrashDecoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s60sc","download_url":"https://codeload.github.com/s60sc/EspCrashDecoder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s60sc%2FEspCrashDecoder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285566568,"owners_count":27193546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-21T02:00:06.175Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","arduino-esp32","esp32","espexceptiondecoder"],"created_at":"2024-11-11T12:20:31.726Z","updated_at":"2025-11-21T06:05:00.254Z","avatar_url":"https://github.com/s60sc.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EspCrashDecoder\n\nThe **EspCrashDecoder** is a standalone ESP exception decoder for use with the Arduino v2.x IDE.  \nThe original [EspExceptionDecoder](https://github.com/me-no-dev/EspExceptionDecoder) relies on an API which is not currently provided by the Arduino v2.x IDE.\n\n## Design\n\nThe **EspCrashDecoder** comprises a `html` file that provides the user interface and parses the register trace to extract the instruction addresses that are passed to `gdb` for decoding, then formats the decoded output from `gdb`.  \nThe parsers and formatter are javascript conversions of the java methods from [EspExceptionDecoder](https://github.com/me-no-dev/EspExceptionDecoder).  \nA Windows batch file provides the overall control.\n\n\n## Installation\n\nCopy the `EspCrashDecoder` folder to the Arduino sketch folder to be analysed.  \n\nThe **EspCrashDecoder** will work for ESP32, ESP32S2 and ESP32S3.  \nIf ESP32S2 or ESP32S3 is being used, change the `espTarget` and `elfTarget` variables in the `EspCrashDecoder.bat` file.  \nSome boards may have a different `elfTarget` value, eg for ESP32 Pico D4 change `elfTarget` to `pico32` - check `build` folder in sketch.\n\nIt is assumed that the `arduino-esp32` core containing `gdb` is installed in the current user profile.\n\nOnly tested on the Chrome browser.\n\n## Usage\n\nBecause the **EspCrashDecoder** is standalone it needs more steps than the [EspExceptionDecoder](https://github.com/me-no-dev/EspExceptionDecoder). \n\nIf a crash occurs when running a sketch, a local ELF file needs to be created by pressing `Alt+Ctrl+S` (Export Compiled Binary) in the Arduino v2.x IDE loaded with the sketch.\n\nDouble click the `EspCrashDecoder.bat` file which brings up a web page to paste in the stack trace from the Arduino console. \n\n\u003cimg src=\"extras/exception.png\" width=\"800\" height=\"200\"\u003e  \n\n\nThis creates a `gdb` batch file `EspCrashDecoder.txt` in the user profile `Downloads` folder, which is automatically applied to `gdb` by the `EspCrashDecoder.bat` file and directs the response to a `EspCrashDecoder.out` file in the `Downloads` folder.  \nPress the button that has appeared on the browser page and navigate to and select the `EspCrashDecoder.out` file.  \n(For browser security reasons the file has to be selected by the user).  \nThe formatted decoded output in then displayed on the browser.\n\n\u003cimg src=\"extras/decoded.png\" width=\"800\" height=\"200\"\u003e\n\n## No Output\n\nIf the web page displays no output, check the contents of the file `err.txt` in the `EspCrashDecoder` folder: \n* `The system cannot find the path specified.` The path to `gdb` is not valid, possibly due to new version of `arduino-esp32` core.\n* `No such file or directory.` The ELF file was not created, check instructions above.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs60sc%2Fespcrashdecoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs60sc%2Fespcrashdecoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs60sc%2Fespcrashdecoder/lists"}