Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 8 Replies) ESP Exception Decoder (Read 9631 times)
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
ESP Exception Decoder
Oct 19th, 2021 at 4:36pm
Print Post  
Hi, I succesfully add the ESP Execption Decoder for debugging to the arduino IDE.

https://github.com/me-no-dev/EspExceptionDecoder


By following this

https://forum.arduino.cc/t/can-not-get-stack-trace-decoder-to-load/582923

How can I add this to visual micro?
« Last Edit: Oct 19th, 2021 at 4:39pm by The_Specialist »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: ESP Exception Decoder
Reply #1 - Oct 19th, 2021 at 4:45pm
Print Post  
On my installation it is located at my arduino IDE documents folder / tools...

E:\Documents\Visual Studio 2019\Projects\Arduino\tools\EspExceptionDecoder\tool\EspExceptionDecoder.jar
« Last Edit: Oct 19th, 2021 at 4:49pm by The_Specialist »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2697
Joined: Feb 13th, 2019
Re: ESP Exception Decoder
Reply #2 - Oct 19th, 2021 at 4:46pm
Print Post  
The exception decoder [!] button should appear automatically at the bottom of the Serial Monitor window when an exception is seen.
https://www.visualmicro.com/page/Hardware-Exception-Reporting.aspx

This is completely independent of the Arduino IDE plugin.
« Last Edit: Oct 19th, 2021 at 4:47pm by Simon@Visual Micro »  
Back to top
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: ESP Exception Decoder
Reply #3 - Oct 19th, 2021 at 4:50pm
Print Post  
I was looking for it in the visual micro menu. I will take a look in the serial monitor on you advice.
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: ESP Exception Decoder
Reply #4 - Oct 19th, 2021 at 4:57pm
Print Post  
I don't find it.

  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: ESP Exception Decoder
Reply #5 - Oct 19th, 2021 at 5:10pm
Print Post  
I don't recieve a stack. Soo It could be that. 

https://arduino-esp8266.readthedocs.io/en/latest/faq/a02-my-esp-crashes.html
« Last Edit: Oct 19th, 2021 at 5:13pm by The_Specialist »  
Back to top
 
IP Logged
 
Acuario
Senior Member
****
Offline


Posts: 256
Location: Spain
Joined: Aug 28th, 2015
Re: ESP Exception Decoder
Reply #6 - Oct 20th, 2021 at 4:27am
Print Post  
The [!] button only appears when there is an exception with the stack dump.
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: ESP Exception Decoder
Reply #7 - Oct 20th, 2021 at 5:25am
Print Post  
What about a backtrace?  Roll Eyes
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2697
Joined: Feb 13th, 2019
Re: ESP Exception Decoder
Reply #8 - Oct 20th, 2021 at 8:50am
Print Post  
If you post the output in the Serial monitor from when you have an issue, we may be able to direct you to further documentation on how to diagnose the issue.

The link posted about decoding the exceptions is the best place to start if the chip is crashing/restarting but not producing a stack trace.

Please also confirm the board and core in use as GDBStub / External Hardware Probe may also reveal further information, depending on the severity of the error.

  
Back to top
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: ESP Exception Decoder
Reply #9 - Nov 8th, 2021 at 10:44pm
Print Post  
I am using it now for a few weeks, and it didn't happen again that I did not get the button below. It was just on the start I had that issue. Soo it cleared itself out.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint