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 Visual micro/studio not responding (Read 1153 times)
herman
Junior Member
**
Offline


Posts: 47
Joined: Jan 11th, 2017
Visual micro/studio not responding
May 5th, 2022 at 12:37pm
Print Post  
I regularly get the message the visual studio stopped responding, with the suggestion to disable visual micro.

Specifications of my system are : 
Device name      DESKTOP-D5U4K1Q
Processor      Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz   2.30 GHz
Installed RAM      16,0 GB (15,8 GB usable)
System type      64-bit operating system, x64-based processor
Pen and touch      No pen or touch input is available for this display

Edition      Windows 10 Home
Version      21H2
Installed on      ‎13/‎11/‎2020
OS build      19044.1645
Experience      Windows Feature Experience Pack 120.2212.4170.0

See an example message in the attachment. The number of seconds vary, max that I remember to have seen is 25.

Edit : This is not new for latest version, have seen it on earlier version too.

« Last Edit: May 5th, 2022 at 12:40pm by herman »  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual micro/studio not responding
Reply #1 - May 5th, 2022 at 12:49pm
Print Post  
VS shows the message incorrectly. Can you confirm this happens when you building or at another time?
  
Back to top
WWW  
IP Logged
 
herman
Junior Member
**
Offline


Posts: 47
Joined: Jan 11th, 2017
Re: Visual micro/studio not responding
Reply #2 - May 5th, 2022 at 1:10pm
Print Post  
This only happens when building Arduino projects.

When building non-arduino projects this never happens
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual micro/studio not responding
Reply #3 - May 5th, 2022 at 2:18pm
Print Post  
Thanks. This is not an issue.

When building non-arduino projects VS is performing the build and knows it is working.

When building Arduino projects VS is not performing the build and therefore the IDE is responding but busy building. The Microsoft message is misleading but they do give you an option "Stop reporting this extension". Click it.
  
Back to top
WWW  
IP Logged
 
herman
Junior Member
**
Offline


Posts: 47
Joined: Jan 11th, 2017
Re: Visual micro/studio not responding
Reply #4 - May 5th, 2022 at 3:08pm
Print Post  
OK, found the reason, not caused by Visual Micro.

I am : 

- using verbose output to have an overview what is compile/linking etx when building/rebuilding/uploading etc
- using extension VSColorOutput64 to color error/warning lines from the  vmicro output.

Now working on esp32 project. When buidling that extremely long command lines are executed. 
f.e. the line I included in the attached file

To know whether to color code the line, for each color possibility a regular expression has to be done over each line. 
Current assumption is that that causes the unresponsiveness and the pointing to visual micro as the cause.

Looking into solutions now, of course first of all on my side.
From visual micro side it would be nice to have an addional verbose level which would only identify the action but not the actual command.
f.e for the above : Compile c++ : YDLidarDevCPP.cpp
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual micro/studio not responding
Reply #5 - May 5th, 2022 at 3:12pm
Print Post  
Good to hear thanks for the update. We will try to consider how a cut down verbose might be used.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint