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 Debugging with OTA (Read 1475 times)
wesch
Junior Member
**
Offline


Posts: 19
Joined: Aug 22nd, 2018
Debugging with OTA
Feb 4th, 2020 at 11:07am
Print Post  
I have got OTA deployment running.
When I use the serial port to deploy, the serial port window opens and I see the debug output.

Now, when deploying via OTA, also a similar windows opens, showing Network|Ip-address and then
Openig port
Port open

What do I have to do, to get debug output into that window?
Couldn't figure it out.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2174
Joined: Feb 13th, 2019
Re: Debugging with OTA
Reply #1 - Feb 4th, 2020 at 12:47pm
Print Post  
At present this is not supported, but we are currently working on resolving this in the near future to allow this to work.

We will update this thread as soon as this is available for Debugging OTA.
  
Back to top
 
IP Logged
 
wesch
Junior Member
**
Offline


Posts: 19
Joined: Aug 22nd, 2018
Re: Debugging with OTA
Reply #2 - Feb 4th, 2020 at 2:06pm
Print Post  
Thx, looking with interest for that feature.
But can you already give a hint, what code is necessary to send the output to that window?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugging with OTA
Reply #3 - Feb 4th, 2020 at 5:00pm
Print Post  
OTA debugging is not implemented yet for serial debugging. It will hopefully be implement over the next few weeks. The concern has related to a restriction on the esp of how many IP connections it can handle at one time. The restriction means that using a connection for the debugger might cause some existing code to fail for projects that already push the capabilities of the esp. We are testing various solutions. 

It is possible to use ota but to also have a serial connection. In this case the debugger can be made to work but, of course, in many ways this defeats the pupose of OTA.
« Last Edit: Feb 4th, 2020 at 5:01pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint