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 Right click causes vs2008 to crash (Read 6931 times)
Pedro Ferrer
Junior Member
**
Offline


Posts: 13
Location: Portugal
Joined: Jul 20th, 2010
Right click causes vs2008 to crash
Oct 31st, 2012 at 2:55pm
Print Post  
Hello 

Every time that I press mouse down right button on a variable to go to var definition, the VS2008 crash...

Thanks
Pedro Ferrer
« Last Edit: Oct 31st, 2012 at 9:22pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Right click causes vs2008 to crash
Reply #1 - Oct 31st, 2012 at 9:25pm
Print Post  
I have moved this to anew thread so that the forum is cleaner.

Visual Micro does not tap into any events in the vs code editor. So this is likely to be caused by an out of date vs 2008 version or another plugin/extension.

What is the full version number of your vs 2008 from the Help>About screen?
  
Back to top
WWW  
IP Logged
 
Pedro Ferrer
Junior Member
**
Offline


Posts: 13
Location: Portugal
Joined: Jul 20th, 2010
Re: Right click causes vs2008 to crash
Reply #2 - Nov 1st, 2012 at 10:00am
Print Post  
Hello

Thanks for all.

My version of VS2008 is
V 9.0.21022.8 RTM

(...)

More problems...
We have 2 combos on VS2008... left side (Global Scope) and right side (Functions in Global Scope)

Almost the functions are grey now...
Before just happen this when I changed some without compile... but now, even after compile, the functions remains a grey color instead black one...

Even if I point to the function, VS2008 will miss the line and leave me on other place... 

Quote:

.'name of project'.vsarduino.h


The project is 'Codino1.ino' so, take me on file '.codino1.vsarduino.h'

More...
I have some vars defined as 
#define DEG_TO_RAD 0.017453292519943295769236907684886

It seems to me that is some problem there... Before when I put the mouse on (on middle of project), a tooltip appear before...now don't... and looking to the result, is seems that is passing '0'and if I press down right mouse button, the VS2008 will crash...

EDIT:
Turn on Verbose, it seems that where I have eg:
Codino1.ino : operation on 'SubMenuActual0_60' may be undefined

It assumes as an error and put my function as grey color...

or even this:

Codino1.ino : deprecated conversion from string constant to 'char*

Also it seems that 'Intelisense' is not working, because don't show me the function parameters, while I'm writing...
eg: putting a comma must show me the parameter that is expecting... but don't...

I've read the topic...
http://www.visualmicro.com/forums/YaBB.pl?num=1351464017/0#0

I can't see "Tools>Options>Visual Micro>Intellisense

What can I do?

Please let me know
Thanks on advance
Pedro Ferrer



« Last Edit: Nov 1st, 2012 at 10:45am by Pedro Ferrer »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Right click causes vs2008 to crash
Reply #3 - Nov 1st, 2012 at 1:40pm
Print Post  
Hello,

It sounds like vs is getting confused. We don't get 100% perfect intellisense because vs expects normal C++.

However it should not crash and should be better than it sounds.

1)
I suggest you email your sketch to info [at] visualmicro.com so that I can try it out.

2)
Also please try a simple new sketch and tell me if when you type "Serial." you see the serial intellisense such as Serial.available()

Finally please tell me if it crashes when you right click or press F12 on a simple variable in the simple test sketch.

Thanks
  
Back to top
WWW  
IP Logged
 
Pedro Ferrer
Junior Member
**
Offline


Posts: 13
Location: Portugal
Joined: Jul 20th, 2010
Re: Right click causes vs2008 to crash
Reply #4 - Nov 1st, 2012 at 2:51pm
Print Post  
Hello

I've started a small new sketch on Arduino IDE with:

void setup(){
}
void loop(){
}

I've tried as suggested to write "Serial."  ... and intellisense works perfectly!

So, I've created a new sketch and past all my code from the old sketch, compiled and all my functions and intellisense works now perfectly!!!

Thanks for all!
Pedro Ferrer
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Right click causes vs2008 to crash
Reply #5 - Nov 1st, 2012 at 2:53pm
Print Post  
Interesting. If you still have the old sketch and find the time to email it I would like to look at it. No probs if not. Good to hear it is working for you now.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint