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
Hot Topic (More than 8 Replies) Intellisense Not Working Correctly in VS2015 (Read 10152 times)
RayLivingston
Full Member
***
Offline


Posts: 158
Location: California
Joined: Nov 24th, 2012
Intellisense Not Working Correctly in VS2015
Jan 6th, 2016 at 12:05am
Print Post  
Tim,

I used Atmel Studio for several years, and IntelliSense always worked correctly.  Since switching to VS2015, it no longer works correctly.  Symbols defined in external libraries are often unknown to IntelliSense.  Most annoying is that IntelliSense insists printf does not exist in Stream, and auto-replaces instance of printf with iprintf (whatever that is).  I don't know if this is just a bug in VS2015, or something induced by VM, but though I'd ask if you have any insight.

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


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: Intellisense Not Working Correctly in VS2015
Reply #1 - Jan 10th, 2016 at 7:30am
Print Post  
No feedback on this?

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense Not Working Correctly in VS2015
Reply #2 - Jan 10th, 2016 at 4:44pm
Print Post  
Hi Ray,

I wasn't ignoring you but working.

It's important to report the arduino ide version you are using when making intellisense reports and also which version of the tool chain you installed. 

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


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: Intellisense Not Working Correctly in VS2015
Reply #3 - Jan 10th, 2016 at 6:48pm
Print Post  
Tim,

Arduino IDE is v1.6.5.  Also using Due.  By "toolchain" you mean VisualMicro?  It's 1.1511.21.  This has been an issue with every version I've used since switching to VS2015.

I did notice today that the VSArduino.h file contains this line (why, I don't know....):

#define printf iprintf

I assume this is the root of the printf issues, but I still have the problem with symbols within most libraries being unknown to Intellisense, even when I'm editing those libraries.

Regards,
Ray L.

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense Not Working Correctly in VS2015
Reply #4 - Jan 10th, 2016 at 7:50pm
Print Post  
@Kampfenatur

Please create a new thread with your question. It's not possible to answer two different users or different experiences in the same thread.

Thanks very much, I will remove your posts so please do recreate

@Ray please confirm you are using the Arduino Due?
« Last Edit: Jan 10th, 2016 at 7:52pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Kampfenatur
Newbies
*
Offline


Posts: 5
Joined: Dec 14th, 2014
Re: Intellisense Not Working Correctly in VS2015
Reply #5 - Jan 10th, 2016 at 7:58pm
Print Post  
Dear Administrator

Thank you so much for your quick response. 

I also checked for you if switching once between boards or release/debug refreshes the project intellisense, to no avail unfortunately. 

I have shared my test project 
https://drive.google.com/folderview?id=0B1cGoLAFOALQUEY2b1NLZjNmdVk&usp=sharing

I hope this can also help.

Thank you for your help and work. VisualMicro sure helps a lot!

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


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: Intellisense Not Working Correctly in VS2015
Reply #6 - Jan 10th, 2016 at 11:21pm
Print Post  
Tim@Visual Micro wrote on Jan 10th, 2016 at 7:50pm:
@Kampfenatur

Please create a new thread with your question. It's not possible to answer two different users or different experiences in the same thread.

Thanks very much, I will remove your posts so please do recreate

@Ray please confirm you are using the Arduino Due?


Tim,

Yes, I am using Due.

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense Not Working Correctly in VS2015
Reply #7 - Jan 11th, 2016 at 8:24pm
Print Post  
Ray,

The define in vsarduino seemed to be a hang over from the past and not needed.

I have removed it in this mornings release of Visual Micro so should be okay now.

I do need to spend time validating the Due intellisense which hasn't been done for a while. You can experiment by removing or adding to the vsarduino.h. It will be overwritten when you try to build or make certain project changes but it's useful for testing. Let me know if you find anything that helps, I can add to the std release. Thanks

off-topic question:-
Have you got a jtag adapter for your Due?
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense Not Working Correctly in VS2015
Reply #8 - Jan 12th, 2016 at 4:24pm
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
IP Logged
 
Kampfenatur
Newbies
*
Offline


Posts: 5
Joined: Dec 14th, 2014
Re: Intellisense Not Working Correctly in VS2015
Reply #9 - Jan 14th, 2016 at 7:06pm
Print Post  
Just for other users FYI.

Got my debugger working again by doing the following:

1. I uninstalled VisualMicro from Visual Studio 2015. 
2. Removed Arduino IDE (1.6.6)
3. Restart PC
4. Installed Arduino IDE 1.6.7
5. Installed VisualMicro from Visual Studio 2015 (via     Tools>Extentions and Updates, go to online of the left menu and search for VisualMicro).

6. Everything is working again.  Cheesy

Thank you Tim for all your help and assistance, it is much appreciated.
  
Back to top
 
IP Logged
 
RayLivingston
Full Member
***
Offline


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: Intellisense Not Working Correctly in VS2015
Reply #10 - Jan 19th, 2016 at 9:55pm
Print Post  
Tim@Visual Micro wrote on Jan 11th, 2016 at 8:24pm:
Ray,

The define in vsarduino seemed to be a hang over from the past and not needed.

I have removed it in this mornings release of Visual Micro so should be okay now.

I do need to spend time validating the Due intellisense which hasn't been done for a while. You can experiment by removing or adding to the vsarduino.h. It will be overwritten when you try to build or make certain project changes but it's useful for testing. Let me know if you find anything that helps, I can add to the std release. Thanks

off-topic question:-
Have you got a jtag adapter for your Due?


Tim,

No, I don't have a JTAG adaptor - I just use the Programming Port.

Would having a JTAG adaptor give me more debug capability?

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense Not Working Correctly in VS2015
Reply #11 - Jan 19th, 2016 at 10:05pm
Print Post  
Only if you have spare time to experiment

I recently released openocd and gdb support for the zero and a Texas instruments board

They were the two boards I had immediately available and work via usb

The connection can be defined in local config so it is possible to add the startup commands for the due and jtag

Getting the commands from the internet and starting debug using a.command window will prove the debug works

Then the cm config can be updated and debug should work

Search for gdb on VisualMicro.com sometime if applicable
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint