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]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Building/Uploading with Start (Read 25996 times)
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building/Uploading with Start (SOLVED)
Reply #20 - Sep 27th, 2016 at 2:40pm
Print Post  
Thanks

Can you please confirm which extensions you have installed in tools>extensions and updates

Thanks
« Last Edit: Oct 23rd, 2016 at 4:47am by Tim@Visual Micro »  
Back to top
IP Logged
 
7Kronos
Newbies
*
Offline


Posts: 4
Joined: Sep 27th, 2016
Re: Building/Uploading with Start
Reply #21 - Sep 27th, 2016 at 7:06pm
Print Post  
  • .NET Micro Framework project system
  • Application insights tools for Visual Studio
  • Arduino IDE for Visual Studio
  • Azure AD Authentication Connected Service
  • Gadgeteer DSL
  • Get Xamarin
  • Github Extensions for Visual Studio
  • Microsoft .NET Gadgeteer Core Templates
  • Microsoft ASP.NET Web Framework and Tools
  • Microsoft Azure Mobile Connected Service
  • Microsoft Azure Storage Connected Service
  • Microsoft Connected Services
  • Microsoft Office 365 API Tools
  • Nuget Package Manager for Visual Studio
  • Python tools for Visual Studio
  • Python tools for Visual Studio - Django
  • Python tools for Visual Studio - IronPython
  • Python tools for Visual Studio - Profiling
  • Python tools for Visual Studio - UWP
  • ReSharper Ultimate
  • TypeScript for Microsoft Visual Studio
  • Visual Studio Extensions for TextMate Grammars
  • Visual Studio Extensions for Windows Library for JavaScript


PS : God it was a pain to write, why so long names  Undecided
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building/Uploading with Start
Reply #22 - Sep 27th, 2016 at 8:06pm
Print Post  
Thanks, another extensions is cancelling the event and preventing visual micro from working.

I will try to replicate using your config.

As an alternative you could also install VS2013 which will run side-by-side with 2015

Or install VS 15 with just the C++ option.
  
Back to top
IP Logged
 
Johan Gummesson
Junior Member
**
Offline


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #23 - Oct 11th, 2016 at 8:41pm
Print Post  
My extentions are

Arduino IDE for Visual Studio
Azure AD Authentication Connected Service
Developer Analytics Tools
Get Xamarin
GitHub Eextention for Visual Studio
Ionic Tab Template
Microsoft ASP.NET and Web Tools
Microsoft ASP.NET Web Framework and Tools
Microsoft Azure App Service Tools
Mircosoft Azure Mobile Service Connected Service
Microsoft Azure Storage Connected Service
Microsoft Connected Services
Mcrosoft Office 365 API Tools
Microsoft Visual C++ Cross-Platform Mobile Development
NuGet Package Manager for Visual Studio 2015
TypeScript for Microsoft Visual Studio
Visual Studio Extensibility Templates
Visual Studio Extention TextMate Grammars
Visual Studio Extentions for Windows Library for JavaScript
Visual Studio Tools for Apache Cordova
Xamarin for Visual Studio
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building/Uploading with Start
Reply #24 - Oct 13th, 2016 at 5:21pm
Print Post  
Question

What item is selected/highlighted in the Solution Explorer when you click a "Start" command and it fails?

Thanks
  
Back to top
IP Logged
 
Johan Gummesson
Junior Member
**
Offline


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #25 - Oct 17th, 2016 at 4:09pm
Print Post  
Hi
Doesn't mater if the solution or the project is selected

Regards
Johan
  
Back to top
 
IP Logged
 
Johan Gummesson
Junior Member
**
Offline


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #26 - Oct 17th, 2016 at 4:13pm
Print Post  
And if I right-click on the project->Debug->Start new instance, it works OK

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building/Uploading with Start
Reply #27 - Oct 17th, 2016 at 5:38pm
Print Post  
Hi,

That last report really helped. I think I might have found the problem and if not there are some trace messages that will help identify it.

There is currently a problem uploading new releases to the Visual Studio Gallery to please install Visual Micro from the following link to the next release that is waiting to be published.

https://1drv.ms/u/s!AsT00oFsGAmRj8RXjwppn10kZdBOzQ

Hopefully the release resolves the issue but if not please switch on "Tools>Options>Visual Micro>User Interface>Trace". Then click a Start command and a new output window called Micro Trace will appear. Please post or email the contents of the window.

Thanks
  
Back to top
IP Logged
 
Johan Gummesson
Junior Member
**
Offline


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #28 - Oct 17th, 2016 at 7:26pm
Print Post  
Hi

Sorry, it didn't work. The only thing showing in the Micro System Trace when I press Start is:

Quote:
Visual Micro is starting the build process


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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building/Uploading with Start
Reply #29 - Oct 17th, 2016 at 7:43pm
Print Post  
Thanks. Seeing that trace message helps show that I can fix.  Will take another look and add more trace messages.

It will be uploading so if you read within 10 mins please wait for the date/time to change
« Last Edit: Oct 17th, 2016 at 8:23pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building/Uploading with Start
Reply #30 - Oct 17th, 2016 at 8:21pm
Print Post  
Hi, another release is here with a full set of trace messages
  
Back to top
IP Logged
 
Johan Gummesson
Junior Member
**
Offline


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #31 - Oct 17th, 2016 at 8:41pm
Print Post  
Hi
And here is the trace

Quote:
Starting the build process
Begin build a valid sketch .ino project
VS is not in native debug mode. The build can progress. Checking configuration name.
Configuration is allowed for Arduino build.
Check if Visual Micro debug is running and apply workflows.
Active debug workflows where not required.
Setting: Is VS Start Debug command
Test if GDB project and GDB is installed?


Regards
Johan
  
Back to top
 
IP Logged
 
Johan Gummesson
Junior Member
**
Offline


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #32 - Oct 17th, 2016 at 8:46pm
Print Post  
Hi again

If I set  Gdb Enable to False from options, it works

Regards
Johan
  
Back to top
 
IP Logged
 
Johan Gummesson
Junior Member
**
Offline


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #33 - Oct 17th, 2016 at 8:51pm
Print Post  
Building from Start trace

Quote:
Starting the build process
Begin build a valid sketch .ino project
VS is not in native debug mode. The build can progress. Checking configuration name.
Configuration is allowed for Arduino build.
Check if Visual Micro debug is running and apply workflows.
Active debug workflows where not required.
Setting: Is VS Start Debug command
Test if GDB project and GDB is installed?
Try do compile and upload
50:21 Compile Started
50:21 Runtime settings saved
50:21 Compile settings saved
50:21 Release build complete
Intellisense: Refresh for project
50:21 Sketch intellisense force refresh complete
50:21 Arduino compiler created
Intellisense: Refresh for project
50:22 Release compile completed
50:22 Exiting release compilation
Compile and upload completed
Last command was debug and upload completed OK
If gdb then launch local gdb debugger
Start command is fully processed and handled by Visual Micro
Visual Micro handled this event and prevented Visual Studio from continuing.
  
Back to top
 
IP Logged
 
Johan Gummesson
Junior Member
**
Offline


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #34 - Oct 17th, 2016 at 8:53pm
Print Post  
Building from  project->Debug->Start new instance:

Quote:
51:59 Compile Started
51:59 Runtime settings saved
51:59 Compile settings saved
51:59 Release build complete
Intellisense: Refresh for project
51:59 Sketch intellisense force refresh complete
51:59 Arduino compiler created
Intellisense: Refresh for project
52:0 Release compile completed
52:0 Exiting release compilation
Visual Micro handled this event and prevented Visual Studio from continuing.
  
Back to top
 
IP Logged
 
Johan Gummesson
Junior Member
**
Offline


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #35 - Oct 17th, 2016 at 9:10pm
Print Post  
Hi again

After some more investigation I think I have found the bug.

Open vMicro->Debugger and click Microsoft GDB Debugger. You can see the message Visual Studio will provide GDB debugging in the Micro Build output.

Then, open up the same menu again, the Microsoft GDB Debugger is not checked (see attached image).

Should this options be possible all boards?

Regards
Johan
« Last Edit: Oct 17th, 2016 at 9:13pm by Johan Gummesson »  

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building/Uploading with Start
Reply #36 - Oct 17th, 2016 at 9:23pm
Print Post  
Excellent thanks. I will fix.




« Last Edit: Oct 17th, 2016 at 9:23pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building/Uploading with Start
Reply #37 - Oct 23rd, 2016 at 4:47am
Print Post  
The latest release in the gallery should resolve this issue.

I am still confused why you could even see the "Gdb debug switch" in the Teensy project but I Visual Micro shouldn't get confused now.

Thanks for the great diagnostic work.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint