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
Normal Topic Exeption decoder esp32 (Read 2560 times)
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Exeption decoder esp32
May 2nd, 2022 at 10:42pm
Print Post  
The exception decoder doesn't work anymore with arduino esp sdk 2.0.3 rc.

Could you please test? In Arduino it is showed but in visual micro 2019 not. 

My advice to you is set the exception decoder in the visual micro menu so it is easier to check it's found in visual micro. Now it is working or not.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: Exeption decoder esp32
Reply #1 - May 3rd, 2022 at 10:12am
Print Post  
Thanks for the report.

Can you attach an example of an exception as a text file, which you have hit on the ESP32 2.0.3-RC1 board package which is not working correctly with the exception decoder in vMicro.

Can you also please attach a full build log as shown at the top of this page in the yellow box so we can ensure we are using the correct setup and board.
« Last Edit: May 3rd, 2022 at 10:25am by Simon@Visual Micro »  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: Exeption decoder esp32
Reply #2 - May 12th, 2022 at 4:48am
Print Post  
Here my veboselog and the backtrace

Backtrace:0x400dcab6:0x3ffb26d00x401d82bd:0x3ffb26f0 0x400d3225:0x3ffb2710 0x400dc80d:0x3ffb2820 

This seems the information about the exception decoder in the build.

exceptions.serial.enabled=true

exceptions.serial.regex.exception_number=Exception \(([0-9]*)\):
exceptions.serial.regex.stack_addresses=40[0-2][0-9a-f]{5}\b
exceptions.serial.resolve.addr2line.args=-aipfC -e"{build.path}/{build.project_name}.elf"
exceptions.serial.resolve.addr2line.cmd=xtensa-esp32-elf-addr2line
}" {addr2line.args} {stack_addresses.list}
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: Exeption decoder esp32
Reply #3 - May 12th, 2022 at 12:58pm
Print Post  
Thanks for the detail.

The latest version (22.04.29-2) should resolve this and show the Exception decoder button in this scenario, as well as decode the trace.  This is available from the top of the below board:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: Exeption decoder esp32
Reply #4 - May 13th, 2022 at 10:43am
Print Post  
Did you know the extension changed to jar?

<home_dir>/Arduino/tools/EspExceptionDecoder/tool/EspExceptionDecoder.jar)

Another question. If I create a library it I see that GCC and GNU are missing. I have seen this in a video on youtube. I'm installing the Arduino-esp32 for git in this folder...

G:\Documents\Visual Studio 2019\Arduino\hardware\espressif\esp32
« Last Edit: May 14th, 2022 at 8:13am by The_Specialist »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Exeption decoder esp32
Reply #5 - May 13th, 2022 at 1:03pm
Print Post  
The exception decoder for the Arduino IDE has always been a jar file. That is because the Arduino IDE is java. In Visual Micro we implemented the decoder functionality using C#.

Please open a new thread about how to install custom toolchains in the sketchbook/hardware folder. The esp32 is normally best installed via Board Manager.
  
Back to top
WWW  
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: Exeption decoder esp32
Reply #6 - May 13th, 2022 at 1:50pm
Print Post  
I tried first the lastest version founded on the homepage, but that one didn't work. Than I saw the link you send me was different. Now I did the test with the link you have me and it works. Thanks!

The latest version Visual Micro 22.04.29.1902 for Visual Studio 2017/2019

Maybe I don't have to open a new tread. I have an explanition of you. I will try that first, see it still works.

https://www.visualmicro.com/forums/YaBB.pl?num=1625425510/2
« Last Edit: May 13th, 2022 at 1:52pm by The_Specialist »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint