Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
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
Debug Build Error using ESP32 Dev Module (Read 184 times)
eljarete
Newbies
*
Offline



Posts: 4
Madrid
Debug Build Error using ESP32 Dev Module
Oct 23rd, 2020 at 7:31pm
 
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: 510
Re: Debug Build Error using ESP32 Dev Module
Reply #1 - Oct 26th, 2020 at 12:24pm
 
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?
Back to top
« Last Edit: Oct 26th, 2020 at 1:25pm by Visual Micro »  
 
IP Logged
 
eljarete
Newbies
*
Offline



Posts: 4
Madrid
Re: Debug Build Error using ESP32 Dev Module
Reply #2 - Oct 27th, 2020 at 8:42pm
 
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
Back to top
 

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



Posts: 510
Re: Debug Build Error using ESP32 Dev Module
Reply #3 - Oct 28th, 2020 at 11:12am
 
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)


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



Posts: 4
Madrid
Re: Debug Build Error using ESP32 Dev Module
Reply #4 - Oct 28th, 2020 at 7:03pm
 
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!
Back to top
 

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



Posts: 510
Re: Debug Build Error using ESP32 Dev Module
Reply #5 - Oct 29th, 2020 at 11:23am
 
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
Back to top
« Last Edit: Oct 29th, 2020 at 4:34pm by Simon@Visual Micro »  
 
IP Logged
 
eljarete
Newbies
*
Offline



Posts: 4
Madrid
Re: Debug Build Error using ESP32 Dev Module
Reply #6 - Oct 29th, 2020 at 6:52pm
 
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 Topic Print