⚠️ This project is in an early state.
Arduino IDE extension lets you get a more meaningful explanation of the stack traces and backtraces you get on ESP8266/ESP32. This extension is the reimplementation of the famous ESP8266/ESP32 Exception Stack Trace Decoder tool, written in Java.
⚠️ This extension has nothing to do with the Visual Studio Code extension for Arduino. This extension does not work in VS Code.
esp-exception-decoder-${VERSION}.vsix
, where ${VERSION}
is the latest version.plugins
folder under Arduino IDE's configuration folder. If the plugins
folder does not exist, create it.
%UserProfile%\.arduinoIDE\plugins
(which is typically C:\Users\<username>\.arduinoIDE\plugins
where <username>
is your Windows username).~/.arduinoIDE/plugins
.
ℹ️ If you get stuck, follow the Installation section of the documentation of the Arduino IDE 3rd party themes. The procedure is the same.
ESP Exception Decoder: Show Decoder Terminal
andℹ️ See more on copy and paste in the terminal here.
"terminal.integrated.cursorBlinking": true
setting."terminal.enablePaste": true
setting enables pasting to the decoder terminal with the keyboard.You can tune the terminal font size with the setting "terminal.integrated.fontSize": 12
.
ℹ️ Reference the Advanced settings documentation of the Arduino IDE for more details.
⚠️ Customizing the terminal colors with the
workbench.colorCustomizations
setting is yet to be supported by Eclipse Theia (eclipse-theia/theia#8060). Hence, this feature is missing from the Arduino IDE.⚠️ Arduino IDE has to support the path links that contain spaces in the decoder terminal. (eclipse-theia/theia#12643)
⚠️
terminal.integrated.rightClickBehavior
is unsupported in Arduino IDE. (eclipse-theia/theia#12644)
Install the dependencies
npm i
⚠️ You need Node.js
>=16.14.0
.
Build the extension
npm run compile
ℹ️ Execute
npm run package
if you want to bundle the VSIX for production.
Test the extension
npm run test
ℹ️ You can run the slow test with the
npm run test-slow
and all the tests with thenpm run test-all
command.
vscode-arduino-api
to communicate with the Arduino IDE.helloworld
VS Code extension template.