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 Multiple Debug Menu Selections (Read 5817 times)
Dave Leddon
Junior Member
**
Offline


Posts: 17
Location: Danville, CA
Joined: Jun 11th, 2014
Multiple Debug Menu Selections
Jun 11th, 2014 at 3:57pm
Print Post  
Iin Visual Studio 2008 I currently have 23 instances of:
Toggle Breakpoint
New Breakpoint
Enable Breakpoint
Disable Breakpoint
Delete all Breakpoints

And 3 instances of 
Debug Existing Sketch

I tried Tools/Visual Micro/Rest User Interface and removing and reinstalling Visual Micro but this had no effect on the problem.  The number of instances increases by one every time I restart Visual Studio.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple Debug Menu Selections
Reply #1 - Jun 11th, 2014 at 4:01pm
Print Post  
Hi David,

This happens when Visual Studio informs Visual Micro that the plugin is not installed. This problem results normally from another misbehaving extension or plugin.

You can reset the menus and commands by adding this to the shortcut you use to open Visual Studio. The item in square brackets will already exist in the short cut and might be surrounded by quotes. Add the /reset... after the quotes

[path to devenv.exe] /resetaddin Visual.Micro.Visual.Studio.Arduino.Helper

This will fix the appearance of multiple menus but not the cause.

What other extensions and plugins do you have installed?
What is the full version number of the Visual Studio Ide you are using?

Thanks

« Last Edit: Jun 11th, 2014 at 4:02pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Dave Leddon
Junior Member
**
Offline


Posts: 17
Location: Danville, CA
Joined: Jun 11th, 2014
Re: Multiple Debug Menu Selections
Reply #2 - Jun 11th, 2014 at 5:02pm
Print Post  
I ran devenv with the resetaddin switch but this didn't remove the multiple items from the Debug drop down list.  The add-in manager does show another add-in, "Smart Deploy" which is checked to run at startup.

Visual Studio 2008 Professional Edition
Version 9.0.30729.1 SP
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple Debug Menu Selections
Reply #3 - Jun 11th, 2014 at 5:20pm
Print Post  
Hi,

Sorry I am getting confused. All the menus items you have mentioned are standard Visual Studio menu items. I didn't read the list properly previously.

None of these items are created or maintained by Visual Micro so this indicates a problem with your vs2008 install or another extension causing the problem.

Debug existing sketch is a Vm option but I think the problem lies elsewhere.

Please upload a screen shot

Thanks
« Last Edit: Jun 11th, 2014 at 5:21pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Dave Leddon
Junior Member
**
Offline


Posts: 17
Location: Danville, CA
Joined: Jun 11th, 2014
Re: Multiple Debug Menu Selections
Reply #4 - Jun 11th, 2014 at 11:50pm
Print Post  
My fault for posting two problems on the same day.  Your last response was in reference to my Intellisense issues.  The problem I'm dealing with here is the ever growing Debug Menu drop-down list.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple Debug Menu Selections
Reply #5 - Jun 12th, 2014 at 12:39am
Print Post  
Yes I can see the problem. For me the last vs item on the debug menu is duplicated many times and also the visual micro "Debug Exiting Sketch".

We did start using the debug menu in the last version by adding the "debug existing" menu item but forgot to check vs2008. Visual studio can be quite fussy in different ways through the different versions.

We will try to release a fix over the next week. For now you can cleanup the menu like this:-

Click "Tools>Customise"

Click the "Commands Tab"

Click "Rearrange Commands"

In the drop down list at the top of the screen selected the menu bar called "Debug"

Select the first of a repeated command and then click the "Delete" button until all but one version of each command remains

If you delete/remove too many menu items during rearrange then you can add them back in from the previous dialog.

More shortly

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple Debug Menu Selections
Reply #6 - Jun 17th, 2014 at 12:38am
Print Post  
Hi,

Sorry for the delay. There is an update here which should fix the problem

https://visualmicro.codeplex.com/releases/view/106554

It was certainly a vs bug but I am sorry it wasn't spotted earlier.

You can run the vs2008 reset if you have too many to delete but deleting manually is safer. After reset you will probably need to click the "visual micro tools>visual micro>reset user interface" to put the menus and bars back

http://msdn.microsoft.com/en-GB/library/ms247075(v=vs.90).aspx
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint