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 2 [3]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Multiple Definition of Vectors.... (Read 54847 times)
RayLivingston
Full Member
***
Offline


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: Multiple Definition of Vectors....
Reply #40 - Nov 28th, 2012 at 4:35am
Print Post  
I un-installed VisualMicro and the debugger, re-installed the latest VisualMicro, and confirmed it worked properly, then re-installed the beta debugger, and VS is now back to crashing on exit, and the debugger is not working.  So, whatever is wrong seems tied tot he debugger, not to Visual Micro.

Regards,
Ray L.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple Definition of Vectors....
Reply #41 - Nov 28th, 2012 at 4:02pm
Print Post  
Hi Ray,

The fact that you have multiple menu items appear without the debug shows that vs is unhappy with something. A shutdown crash indicates the same thing. The only difference between debug and non-debug is that more tool windows get opened. We know VS2008 works well for many users and for myself so this problem is something to do with your VS install. Maybe re-installing will help.

As requested, to test the debug you need to switch break/pause OFF

Please follow this video and let me know the results http://www.youtube.com/watch?v=fFM8_RhIG0U

The reason for switching break/pause off is to keep things simple. It is correct that F5/Continue, continues during a break but re-compiles and uploads when not stopped at a break. BUT we need break/pause off for now so that we do not have to have this conversation just yet.

As requested please confirm what you have entered into your "When Hit" message.


Thanks
  
Back to top
IP Logged
 
RayLivingston
Full Member
***
Offline


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: Multiple Definition of Vectors....
Reply #42 - Nov 28th, 2012 at 4:26pm
Print Post  
Tim,

Since last night, for reasons I can't explain, because I didn't change anything, it's behaving differently, and *almost* working.  I have now, several times, run the program, and it has stopped at the breakpoint, properly displayed the messages in the output window, and properly displayed the variables in the expressions window.  The odd thing is, right now, it doesn't matter whether I have Break/Pause checked or not - it ALWAYS stops at the breakpoint, even though the specified breakpoint action is Print a Message then Continue Execution.  Hitting F5 at this point always results in re-compiling, and re-starting the program, so it appears the debugger for some reason does not think it stopped at a breakpoint.

Regards,
Ray L.
  
Back to top
 
IP Logged
 
RayLivingston
Full Member
***
Offline


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: Multiple Definition of Vectors....
Reply #43 - Nov 28th, 2012 at 4:39pm
Print Post  
Tim,

Success! (I think....).  I deleted the existing breakpoint, and created a new one, which is working correctly, both with Break/Pause enabled and disabled.  It appears re-installing the plug-in and debugger did clean up the worst of the problems, and perhaps there was something in whatever file the breakpoint conditions are stored in that was causing the whacky behavior I saw earlier today?  In any case, for the moment, it appears to now be working, with the exception of the duplicate menu items (which I can live with).

I did notice when I did the un-install that there were TWO instances of VisualMicro.  Recall that I initially installed the latest version, the attempted to install the version indicated as being correct for the stable debug release over it.  Could this have somehow screwed up the VisualMicro install and caused my problems?

I hate it when a problem gets resolved without knowing how or why....  Sorry for the trouble, and thanks for the help.

Regards,
Ray L.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple Definition of Vectors....
Reply #44 - Nov 28th, 2012 at 4:40pm
Print Post  
Hi Ray, 

What LocalSpeed are you using?

Can you upload a "Release" version and then a "Debug" version to see if this allows it to work without break/pause.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple Definition of Vectors....
Reply #45 - Nov 28th, 2012 at 4:42pm
Print Post  
Sorry, didn't see your second message. There should only be one Visual Micro for Arduino item in the control panel>add remove programs list and one Visual Micro Debugger Upgrade.

If you had two of the main plugin installed it is possible that vs would become confused.

If you now have only two items installed then maybe the resetaddin will sort out the UI.

Re-installing will not cause a duplicate.
« Last Edit: Nov 28th, 2012 at 4:43pm by Tim@Visual Micro »  
Back to top
IP Logged
 
RayLivingston
Full Member
***
Offline


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: Multiple Definition of Vectors....
Reply #46 - Nov 28th, 2012 at 5:23pm
Print Post  
Tim,

I did do another resetaddin, which cleared the duplicates, but they still come back, adding one each time I start VS.  I can live with that.  It does appear then that attempting to install an old plug-in over a newer one is a bad idea, as I don't see how else I could've ended up with two of them showing up in the Add/Remove Programs list.

But, the important thing is all seems to be working well now, and I'm looking forward to getting some good use out of the debugger!

Regards,
Ray L.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple Definition of Vectors....
Reply #47 - Nov 28th, 2012 at 5:31pm
Print Post  
There were some issues with the setup program a while back, if you had a version older than 18 months then it would certainly have been an issue but if you try to install the recent version again you will be prompted to repair/uninstall. Hopefully it's all okay now.

Maybe you can try a reset then running vs as administrator once. VS might be having a problem saving to the registry but its a long shot.

I'm pleased it working, well done for hanging in there!!

T

  
Back to top
IP Logged
 
RayLivingston
Full Member
***
Offline


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: Multiple Definition of Vectors....
Reply #48 - Nov 28th, 2012 at 5:34pm
Print Post  
Tim,

The initial install was only about a week ago, and was the latest version (same one I have installed now).  The over-install was a slightly earlier version - the minimum recommended for use with the "Stable" release of the debugger.  When I did the second install, it did offer to "repair" the installation, but obviously what it did was not really a repair....

I always run with Admin rights, but I'll try logging in as Admin, and see if that does anything positive.

Regards,
Ray L.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 2 [3] 
Send TopicPrint