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 Debug Build Error using ESP32 Dev Module (Read 1848 times)
eljarete
Newbies
*
Offline


Posts: 4
Location: Madrid
Joined: Oct 23rd, 2020
Debug Build Error using ESP32 Dev Module
Oct 23rd, 2020 at 6:31pm
Print Post  
Hello VM community  Cheesy!

I'm facing a build error each time I switch to "Debug: Software" mode. I've left the default debugging settings, and I tried using the COM port and the IP port (after activating the OTA mode). The compilation works fine if I launch it in release mode or Debug:hardware, so I understand there is happening something wrong on the debug mode. I've sent the build trace through email.
I've tried using two different ESP32 SoCs using the same board, but none of them accomplish to compile without this error in debug mode.

Which may be working wrong?
Thank you in advance,
Jarete
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: Debug Build Error using ESP32 Dev Module
Reply #1 - Oct 26th, 2020 at 12:24pm
Print Post  
Thanks for the report.

Please set a COM port and then attach or email the solution and any required external libraries to assist us with debugging this?
« Last Edit: Oct 26th, 2020 at 1:25pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
eljarete
Newbies
*
Offline


Posts: 4
Location: Madrid
Joined: Oct 23rd, 2020
Re: Debug Build Error using ESP32 Dev Module
Reply #2 - Oct 27th, 2020 at 8:42pm
Print Post  
Hi again,

I attach the code and a screenshot of the port used.
CompilationScreenshot.bmp
The libraries used for the code are pretty simple and available from micro explorer, those are:
https://github.com/jandrassy/ArduinoOTA
https://github.com/arduino-libraries/WiFi
I hope you have a better picture of where I'm failing on.

Cheers,
Jarete
  

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: Debug Build Error using ESP32 Dev Module
Reply #3 - Oct 28th, 2020 at 11:12am
Print Post  
Thanks for the additional information, though we are still struggling to replicate the issue.

Can you create a new solution, and project, and add the code supplied to that.  Then setup the debugging settings again for Serial, and try the build again?
(This is just to try the single clean project to prove this works)


« Last Edit: Oct 28th, 2020 at 2:18pm by Simon@Visual Micro »  
Back to top
 
IP Logged
 
eljarete
Newbies
*
Offline


Posts: 4
Location: Madrid
Joined: Oct 23rd, 2020
Re: Debug Build Error using ESP32 Dev Module
Reply #4 - Oct 28th, 2020 at 7:03pm
Print Post  
Hi,

Here's the update: New project, same code, same libraries, same port, same hardware... same behavior  Undecided.
CompilationNewproject.bmp
If I switch off the debug mode it perfectly compiles and uploads the code, making work the board as expected Smiley.
I attach the Micro Build log (private data masked), just in case it can help troubleshoting.

Cheers!
  

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: Debug Build Error using ESP32 Dev Module
Reply #5 - Oct 29th, 2020 at 11:23am
Print Post  
Thanks again for the detail around this.

We have a new release in the forum (20.09.10.13) which should resolve this build error.

An additional release of 20.09.10.14 also resolves a core caching issue in the most recent two builds:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
« Last Edit: Oct 29th, 2020 at 4:34pm by Simon@Visual Micro »  
Back to top
 
IP Logged
 
eljarete
Newbies
*
Offline


Posts: 4
Location: Madrid
Joined: Oct 23rd, 2020
Re: Debug Build Error using ESP32 Dev Module
Reply #6 - Oct 29th, 2020 at 6:52pm
Print Post  
Hi Simon,

The last release came with the solution to this issue.
Good to know that I can find newer versions of VM in the webpage than the existing at the extension manager.

Thank you,
Regards!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint