Giter VIP home page Giter VIP logo

espexceptiondecoder's Introduction

Arduino ESP8266/ESP32 Exception Stack Trace Decoder Build Status

Arduino plugin which lets you get a more meaningful explanation of the stack traces you get on ESP8266/ESP32.

Installation

  • Make sure you use one of the supported versions of Arduino IDE and have ESP8266/ESP32 core installed.
  • Download the tool archive from releases page.
  • In your Arduino sketchbook directory, create tools directory if it doesn't exist yet.
  • Unpack the tool into tools directory (the path will look like <home_dir>/Arduino/tools/EspExceptionDecoder/tool/EspExceptionDecoder.jar).
  • On newer versions of linux (Ubuntu 20.04), you may need to install the libncurses5 and libpython2.7 packages: sudo apt install libncurses5 libpython2.7
  • Restart Arduino IDE.

Usage

  • Open a sketch and build it.
  • Upload the sketch and monitor the Serial port for Exceptions
  • When you get an Exception, open Tools > ESP Exception Decoder menu item. This will open a new window.
  • Paste the stack trace into the window's top pane and the result will show in the bottom.
  • Every time you enter new address or stack trace, the results will refresh

EspExceptionDecoder.png

Exception decoded on ESP32

esp32-exception.png

Gedit Highlighting

You can use the StackTrace utility to have gedit highlight the above stack trace for easy viewing. More details can be found here: https://github.com/electronicsguy/ESP8266/tree/master/Misc/StackTrace

Credits and license

  • Copyright (c) 2015 Hristo Gochkov (ficeto at ficeto dot com)
  • Licensed under GPL v2 (text)

Command line version

If you are searching for a command line version, look at [EspStackTraceDecoder] (https://github.com/littleyoda/EspStackTraceDecoder). EspStackTraceDecoder is based on the EspExceptionDecoder, but was completely rewritten for the command line usage.

espexceptiondecoder's People

Contributors

earlephilhower avatar electronicsguy avatar facchinm avatar lbernstone avatar littleyoda avatar me-no-dev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.