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 studio becomes unresponsive when choosing a different board (Read 4284 times)
JasonKaler
Newbies
*
Offline


Posts: 3
Joined: Mar 20th, 2015
Visual studio becomes unresponsive when choosing a different board
Mar 20th, 2015 at 11:10am
Print Post  
Hi
I'm using visual studio 2013, arduino 1.06 and teensyduino.
These are all fresh installs.

Everything is working fine except for one thing:
When I choose a different target board from the dropdown, visual studio becomes unresponsive. I need to end task and restart visual studio to continue with the project.

Oh, and thanks for a great product. It surpassed my expectations by a mile.
« Last Edit: Mar 20th, 2015 at 11:10am by JasonKaler »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual studio becomes unresponsive when choosing a different board
Reply #1 - Mar 20th, 2015 at 2:40pm
Print Post  
Hi,

Thanks for the post.

I haven't heard of this issue before. 

1)
How long did you leave Visual Studio to see if it becomes responsive again? (I would expect the intellisense changes to be detected and re-scanned by VS when you change board. This process normally shows in the status bar while it happens or a dialog appears to tell you that it is happening)

2)
If you switch board without having a sketch/project open (clean ide restart) does the same problem happen?

3)
Which boards are you going from and to?

Thanks


  
Back to top
IP Logged
 
JasonKaler
Newbies
*
Offline


Posts: 3
Joined: Mar 20th, 2015
Re: Visual studio becomes unresponsive when choosing a different board
Reply #2 - Mar 22nd, 2015 at 7:03pm
Print Post  
Hello

Thanks for the response.

I just tested which a clean restart, with no project open it switches boards quite easily.

with a simple project open (blink), it takes about 15 seconds to switch between teensy 2 and arduino uno.

But after doing this several times, it suddenly needed a minute and a half to do a change. 
With the Serial window open and blink running on the chip, in debug mode with 1 watch, it took several minutes to do a change.
There was a very brief dialog with a status bar, but this was too quick to even see what was happening, maybe a second or two.

So I guess visual studio and/or the plugin are busy doing something during that time and it just takes a while.

I guess its not too serious as most people would not change boards too often, and I can close the project to change boards as a workaround.

Thanks

Jason
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual studio becomes unresponsive when choosing a different board
Reply #3 - Mar 22nd, 2015 at 7:47pm
Print Post  
Changing board is instant for everyone else I know

Visual studio rescans intellisense files when changing board but it doesn't cause the delay you describe

Please check virus checker and that you are up to date on windows and visual studio service packs

Thanks
  
Back to top
IP Logged
 
JasonKaler
Newbies
*
Offline


Posts: 3
Joined: Mar 20th, 2015
Re: Visual studio becomes unresponsive when choosing a different board
Reply #4 - Mar 25th, 2015 at 8:25pm
Print Post  
Hi

I think I found the problem. I disabled the superfetch service in windows and now the total time to change boards is about 2 seconds.

I guess that superfetch was re-indexing or re-prefetching or whatever it does behind the scenes and this was somehow triggered by changing the target board.

I hope this is helpful to the next guy.

Thanks

Jason
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint