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 Opening serial monitor causes visual studio to hang (Read 1275 times)
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Opening serial monitor causes visual studio to hang
Dec 19th, 2021 at 2:04pm
Print Post  
Since some time in most cases this happened almost permanently.
No matter Visual Studio 2017/2019 or Microchip Studio.
It happens immediately or after some time.
Only kill task helps.

Other monitors (Arduino IDE, Putty, Teraterm, etc.) work with no problems.
« Last Edit: Dec 19th, 2021 at 2:07pm by Kabron »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Opening serial monitor causes visual studio to hang
Reply #1 - Dec 19th, 2021 at 4:27pm
Print Post  
Hi,

We dont have other reports of this therefore it would be useful to see your settings. We do have some extra features such as auto detect board/port, auto reconnect etc. that are different to the other terminals you mention. I think initially they should be switched off so that we can isolate the problem.

Can you please give the output requested in the yellow box above so that we can see which usb device(s) you are using. Also to give info of when this happens? When first connect or after some time? Huge stream of data or not? etc.

Thanks
« Last Edit: Dec 19th, 2021 at 4:28pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: Opening serial monitor causes visual studio to hang
Reply #2 - Dec 20th, 2021 at 7:39am
Print Post  
Well, as it no concern with compilation, here is the of the Microdebug output prior to successive serial connection. To my surprise this particular connection works already several hours with no trouble and even was restored after hibernation.
Code
Select All
Launching Debugger...
   - Serial debug will start immediately. WiFi (or gdb) debug will start a few seconds or a short time after the remote device connects to the network.
   - Switch on 'vmicro>debugger>full speed' to prevent debugger message throttling. (read the docs)
   - If 'in-break live watch' is disabled, continue an existing paused debug session by sending the character 'c' to the board using the Serial window.
   - If uploading on WiFi but debug is on Serial then it is possible the cpu will be in debug break when OTA upload is attempting connect. If this is the case then sending char 'c' using the serial/debug terminal will force the mcu to continue (like F5).
   - WiFi debug? Wifi debug is not fully supported yet. Use the vMicro>Debugger menu to set an alternative debug port such as Serial (default speed is 115k)
   - To view debug messages without trace messages use the 'message windows' option on the monitor window.
   - Switch off this message and other Tutorial messages using the 'vMicro>General' menu 

« Last Edit: Dec 20th, 2021 at 8:04am by Kabron »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2708
Joined: Feb 13th, 2019
Re: Opening serial monitor causes visual studio to hang
Reply #3 - Dec 20th, 2021 at 12:09pm
Print Post  
Thanks for the update.

If you could attach the build log with the settings shown at the top, it will help us understand all settings in and connected to Visual Micro which could affect this.
  
Back to top
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: Opening serial monitor causes visual studio to hang
Reply #4 - Dec 20th, 2021 at 2:20pm
Print Post  
OK, here it is.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint