Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 

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 and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Exeption decoder esp32 (Read 821 times)
The_Specialist
Junior Member
**
Offline



Posts: 74
Exeption decoder esp32
May 2nd, 2022 at 11:42pm
 
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: 1459
Re: Exeption decoder esp32
Reply #1 - May 3rd, 2022 at 11:12am
 
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.
Back to top
« Last Edit: May 3rd, 2022 at 11:25am by Simon@Visual Micro »  
 
IP Logged
 
The_Specialist
Junior Member
**
Offline



Posts: 74
Re: Exeption decoder esp32
Reply #2 - May 12th, 2022 at 5:48am
 
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.messages={vm.platform.root.path}/hardware/esp32/exceptions.txt

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
exceptions.serial.resolve.stack_addresses.pattern="{compiler.path}{addr2line.cmd
}" {addr2line.args} {stack_addresses.list}
Back to top
 

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



Posts: 1459
Re: Exeption decoder esp32
Reply #3 - May 12th, 2022 at 1:58pm
 
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
Junior Member
**
Offline



Posts: 74
Re: Exeption decoder esp32
Reply #4 - May 13th, 2022 at 11:43am
 
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
Back to top
« Last Edit: May 14th, 2022 at 9:13am by The_Specialist »  
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline



Posts: 11487
United Kingdom
Re: Exeption decoder esp32
Reply #5 - May 13th, 2022 at 2:03pm
 
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
 

Tim Leek
home
WWW  
IP Logged
 
The_Specialist
Junior Member
**
Offline



Posts: 74
Re: Exeption decoder esp32
Reply #6 - May 13th, 2022 at 2:50pm
 
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
Back to top
« Last Edit: May 13th, 2022 at 2:52pm by The_Specialist »  
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print