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) Compiling debug (SOLVED) (Read 32564 times)
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #20 - Aug 30th, 2016 at 10:54am
Print Post  
Updated it... Still got an issue... Could this be an issue on my end? Am I not doing something right? I attached a .txt
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiling debug
Reply #21 - Aug 30th, 2016 at 10:58am
Print Post  
No I don't think so. Actually the biggest problem is resolved which was due to a change in the latest arduino 1.6.11

Now I can look into the include paths problem which might be an option at your end but for a simple project should just work out of the box..

Try switch the toolbar from Debug to Release

and try a new project.

But I will look some more later
  
Back to top
IP Logged
 
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #22 - Aug 30th, 2016 at 10:59am
Print Post  
Okay, I will try that, thanks.
  
Back to top
 
IP Logged
 
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #23 - Aug 30th, 2016 at 11:04am
Print Post  
Okay, so something interesting has happened and it looks good. Heres a .txt

Can you confirm if this has worked?
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiling debug
Reply #24 - Aug 30th, 2016 at 12:17pm
Print Post  
Yes you switched from Release to Debug and it is working now.

I will try to replicate the issue you had with debug
  
Back to top
IP Logged
 
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #25 - Aug 30th, 2016 at 12:54pm
Print Post  
Okay, great thanks. I appreciate a lot with your help
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiling debug
Reply #26 - Aug 31st, 2016 at 7:22am
Print Post  
Hi, there has been an update released. If you can try it in "Debug" sometime that would be useful thanks.
  
Back to top
IP Logged
 
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #27 - Aug 31st, 2016 at 12:19pm
Print Post  
Updated. Attached a .txt
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiling debug
Reply #28 - Sep 2nd, 2016 at 4:19am
Print Post  
Hi,

I have to thank you for this good post. There is a new release that should resolve the remaining issues/questions.

I found an issue with imported libraries that are in the new arduino folder format but that did not contain a library.properties text file in the library folder. This caused visual micro to assume the library was old format and and incorrect compilation would result.

Failure of deep search to find #included libraries in local libraries is resolved.

There was a cache issue that would cause compiler confusion if files were moved around a project or local libraries removed. Loading a different project or starting the ide solved the issue but it would have caused confusion.

I hope you find the new release radically different Smiley
  
Back to top
IP Logged
 
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #29 - Sep 2nd, 2016 at 11:49am
Print Post  
Hello.
No problem Smiley I installed the update, but seems like I still got an issue. Here's the .txt
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #30 - Sep 3rd, 2016 at 12:21am
Print Post  
What is the difference between debug and release? And what are each of their benefits? Which one is better?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiling debug
Reply #31 - Sep 3rd, 2016 at 4:29am
Print Post  
I found the cause, update tomorrow. It's related to the new Arduino 1.6.11 stuff


Release is normal build

Debut allows breakpoints on code lines, to inspect variable values while code running and to change the values. Also has chart plotting and graphical display of analog , digital pins. Plus some other things.

  
Back to top
IP Logged
 
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #32 - Sep 3rd, 2016 at 11:38am
Print Post  
Okay, let me know when the update is ready. 

Debug sounds much more important than release so.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiling debug
Reply #33 - Sep 3rd, 2016 at 7:34pm
Print Post  
Well there have been a lot of issues on the back of the arduino 1.6.11 release. I hope they are now resolved. Please try the update when time.
  
Back to top
IP Logged
 
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #34 - Sep 3rd, 2016 at 8:11pm
Print Post  
Updated. Still an issue. Here's a .txt.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiling debug
Reply #35 - Sep 3rd, 2016 at 8:48pm
Print Post  
Can you see a VM_DBG.h in E:\Visual Studio Community 2015\Common7\IDE\Extensions\xno1umpl.pje\Micro Platforms\default\debuggers\VM_DBG

Is E:\ a normal hard drive?

Thanks
  
Back to top
IP Logged
 
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #36 - Sep 3rd, 2016 at 10:49pm
Print Post  
E is my installation drive, I am keeping drive C for windows only. 

Yes, I can see VM_DBG.h
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiling debug
Reply #37 - Sep 7th, 2016 at 10:38pm
Print Post  
Hi,

Sorry about the delay. Yes I do same with drives but was just seeing if the drive was a remote drive. It's a strange error for a file not to be found when the path is correctly shown in the compiler statement.

There has been another release with a few more fixes for the recent arduino changes but I am not sure if it will help with this issue.

Thanks
  
Back to top
IP Logged
 
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #38 - Sep 8th, 2016 at 12:09am
Print Post  
Hello,
That's fine.
Still an error.
Here is a .txt
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #39 - Sep 12th, 2016 at 3:59pm
Print Post  
I am away from next Wednesday and I will be very busy for a good few weeks because I am moving to the UK, so if there is anything you want me to do with seeing if the debug works from now until tomorrow night [tuesday], let me know.
« Last Edit: Sep 12th, 2016 at 3:59pm by V.S.A.User »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 
Send TopicPrint