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
Very Hot Topic (More than 25 Replies) Building/Uploading with Start (Read 26135 times)
Johan Gummesson
Junior Member
**
Offline


Posts: 24
Joined: Jan 1st, 2014
Building/Uploading with Start
Sep 19th, 2016 at 9:59pm
Print Post  
Hi
After updating to 1609.18.1 I have a problem with building and uploading my sketches with Start/F5/Debug>Start Debugging. 

Quote:
1>------ Build started: Project: Test1, Configuration: Release Win32 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018: The "VCMessage" task failed unexpectedly.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018: System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018:    at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018:    at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018:    at System.String.Format(IFormatProvider provider, String format, Object[] args)
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018:    at Microsoft.Build.Shared.ResourceUtilities.FormatString(String unformatted, Object[] args)
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018:    at Microsoft.Build.Utilities.TaskLoggingHelper.FormatString(String unformatted, Object[] args)
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018:    at Microsoft.Build.Utilities.TaskLoggingHelper.FormatResourceString(String resourceName, Object[] args)
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018:    at  messageResourceName, Object[] messageArgs)
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018:    at Microsoft.Build.CPPTasks.VCMessage.Execute()
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018:    at Host.Execute()
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Building with F6/Build>Build Solution works fine. Uploading from the toolbar 'Micro Project' also works

Regards
Johan
« Last Edit: Sep 19th, 2016 at 10:02pm 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: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building/Uploading with Start
Reply #1 - Sep 19th, 2016 at 10:56pm
Print Post  
Hi,

Which version of visual studio?

Have you just got the one project in the solution?

Is the test1 project name in bold in the solution explorer?

Thanks
« Last Edit: Sep 19th, 2016 at 10:56pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building/Uploading with Start
Reply #2 - Sep 19th, 2016 at 11:23pm
Print Post  
Hi again,

Under "tools>options>visual micro>compiler" make sure you have not entered any values for "Debug Configuration" and "Release Confirguration"
  
Back to top
IP Logged
 
Johan Gummesson
Junior Member
**
Offline


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #3 - Sep 20th, 2016 at 5:21pm
Print Post  
Hi

I'm using VS2015 Community Edition (14.0.25431.01), update 3. I have only one project and the project is set as startup. 
I can also right-click on the project and choose Debug>Start New Instance but nothing around F5/Ctrl F5 works

Regards
Johan
« Last Edit: Sep 20th, 2016 at 5:24pm by Johan Gummesson »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Johan Gummesson
Junior Member
**
Offline


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #4 - Sep 20th, 2016 at 5:25pm
Print Post  
Hi again

Attaching my solution

Regards
Johan
  

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: Building/Uploading with Start
Reply #5 - Sep 20th, 2016 at 6:59pm
Print Post  
Hi,

Did you see my note about ensuring the Debug and Release configuration settings in the options are not set

Under "tools>options>visual micro>compiler" make sure you have not entered any values for "Debug Configuration" and "Release Confirguration"

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


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #6 - Sep 20th, 2016 at 7:45pm
Print Post  
Hi

Sorry, I forgot to mention that. I checked it and it's all blank

Regards
Johan
  

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: Building/Uploading with Start
Reply #7 - Sep 20th, 2016 at 8:11pm
Print Post  
Okay thanks.

The build output is Visual Studio attempting the build which suggests some sort of error is happening.

After the build the output window name will change so please switch it back to "Micro Build" then post what you see as a .txt or email to info[at]visualmicro.com

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


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #8 - Sep 20th, 2016 at 8:28pm
Print Post  
The Micro Build output is empty, only Build has some errors wich I posted before

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


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #9 - Sep 20th, 2016 at 8:47pm
Print Post  
Some obervations in the vcxproj that might not have anything to do with the problem:

ToolsVersion="4.0", should that be ToolsVersion="14.0"?

<DebuggerFlavor>VisualMicroDebugger</DebuggerFlavor>, This will give Project Properties>Configuration Properties>Debugging an 'Unsopported debug option'

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building/Uploading with Start
Reply #10 - Sep 20th, 2016 at 8:53pm
Print Post  
Thanks.

It shouldn't really affect this. 

The <debuggerFlavor> certainly shouldn't come into play and is correct it says unspported.

Can you please right click the project so the standard c++ project property pages open. Then try picking a platform toolset. Then try it. I will be surprised if it works but worth a try.

Please confirm exact version of vs 2015 from help>about

Thanks

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


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #11 - Sep 20th, 2016 at 9:11pm
Print Post  
No differance. Attached a screenshot of the version of VS.

//Johan
  

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: Building/Uploading with Start
Reply #12 - Sep 20th, 2016 at 9:39pm
Print Post  
Very strange. For VS2015 we have identical setup. 

Please push the copy button on the help>about then post as .txt

Is this problem with every Visual Micro project regardless of board?

Thanks

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


Posts: 24
Joined: Jan 1st, 2014
Re: Building/Uploading with Start
Reply #13 - Sep 20th, 2016 at 10:25pm
Print Post  
I have the same problem with all the boards I have. 

Let me try to do a recap of what I have done.
It started when I upgraded to 1609.18.1 The first problem was the upload error for ATmega32u4 (I'm quite sure I was able to build that one with the startbutton). I an attempt, I uninstalled the latest version and tried to install an older version from OneDrive (Visual.Micro.Arduino.Studio (53).vsix). That didn't work at all so I uninstalled that one and reinstalled the latest. I then updated VS to Update 3.

Is it possible that the problem lies in the 'downgrade' and upgrade combination?

Attaching the about text

//Johan
  

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: Building/Uploading with Start
Reply #14 - Sep 20th, 2016 at 11:38pm
Print Post  
Thanks

The issue with upload to leonardo type boards was a known issues in the last release caused by some OTA/IpAddress upload changes for the ESP8266. Was resolved in the .20 release. It's unrelated to this.

I suspect that the upgrade causes uninstall and reinstall moving Visual Micro to the end of the list of installed VS extensions. The way the VS event system works is to offer the event to each extension in order. An extension can elect to process the event and cancel it. In this case something is processing and Cancelling the event so Visual Micro isn't being offered the chance to handle it.

I asked for the VsAbout.txt so I can try to replicate what you have installed.

A couple of other tests that will help

1) Remove the following from the vcxproj
  <ItemGroup>
    <ProjectCapability Include="VisualMicro" />
  </ItemGroup>

  <PropertyGroup>
    <DebuggerFlavor>VisualMicroDebugger</DebuggerFlavor>
  </PropertyGroup>

Then save and reload the project to see of that has an effect

2) Switch the project off from C++ current build configuration

Build>Configuration Manager

3) Look at the solution properties and confirm the Startup is set to single project

Right click the Solution name in the Solution explorer > properties

Thanks






  
Back to top
IP Logged
 
7Kronos
Newbies
*
Offline


Posts: 4
Joined: Sep 27th, 2016
Re: Building/Uploading with Start
Reply #15 - Sep 27th, 2016 at 11:13am
Print Post  
I have exactly the same problem. Just started a trial, building and uploading from the VisualMicro tool bar works but VS commands from Debug menu don't work.

I also have the VCMessage exception stack.  Cry

My VS about :

Code
Select All
Microsoft Visual Studio Professional 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01038

Installed Version: Professional

Visual Basic 2015   00322-40000-00000-AA283
Microsoft Visual Basic 2015

Visual C# 2015   00322-40000-00000-AA283
Microsoft Visual C# 2015

Visual C++ 2015   00322-40000-00000-AA283
Microsoft Visual C++ 2015

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

Arduino for Visual Studio   1.0
Arduino extension for Visual Studio. For more information please see docs, faq and forum at http://www.visualmicro.com

ASP.NET and Web Tools 2015.1 (Beta8)   14.1.11106.0
ASP.NET and Web Tools 2015.1 (Beta8)

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.30624.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.5
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

GitHub.VisualStudio   1.0
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

JetBrains ReSharper Ultimate 10.0.2   Build 104.0.20151218.120627
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2016 JetBrains, Inc.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.3.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

Python Tools for Visual Studio   2.2.31124.00
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.

Python Tools for Visual Studio - Django Integration   2.2.31124.00
Provides templates and integration for the Django web framework.

Python Tools for Visual Studio - Profiling Support   2.2.31124.00
Profiling support for Python projects.

SQL Server Data Tools   14.0.50616.0
Microsoft SQL Server Data Tools

TypeScript   1.7.6.0
TypeScript for Microsoft Visual Studio 

« Last Edit: Sep 27th, 2016 at 11:20am by 7Kronos »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building/Uploading with Start
Reply #16 - Sep 27th, 2016 at 12:04pm
Print Post  
Hi,

Thanks for the report but I already responded with some questions/tests. Hopefully someone can answer my last post so I can investigate further.

Thanks
  
Back to top
IP Logged
 
7Kronos
Newbies
*
Offline


Posts: 4
Joined: Sep 27th, 2016
Re: Building/Uploading with Start
Reply #17 - Sep 27th, 2016 at 1:08pm
Print Post  
Tim@Visual Micro wrote on Sep 27th, 2016 at 12:04pm:
Hi,

Thanks for the report but I already responded with some questions/tests. Hopefully someone can answer my last post so I can investigate further.

Thanks


I'm sorry I did not mention I followed your tests to investigate.

1) It builds as a standard C++ EXE
  • VCMessage go away
  • error message not being able to find the binary out to execute/debug


2) If I uncheck Build from configuration manager, nothing happend, Micro Build output stays empty
3) Solution startup is set to single and selected startup project is fine.

  • I uninstalled Visual Micro extention, and reinstalled it
  • I try this using an empty Sketch with only setup and loop methods.
  • I also checked Debug/Release configuration names are empty in the Visual Micro options section.


Let me know if you need anything to investigate. I can provide a Skype/TeamViewer session if it can help.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Building/Uploading with Start
Reply #18 - Sep 27th, 2016 at 1:22pm
Print Post  
Thanks.

Please edit the .vcxproj file from the sketch/project folder you are using.

Edit with notepad and remove the following two sections then click save and try to open and use the project in VS

Remove the following from the vcxproj
  <ItemGroup>
    <ProjectCapability Include="VisualMicro" />
  </ItemGroup>

  <PropertyGroup>
    <DebuggerFlavor>VisualMicroDebugger</DebuggerFlavor>
  </PropertyGroup>

Thanks
  
Back to top
IP Logged
 
7Kronos
Newbies
*
Offline


Posts: 4
Joined: Sep 27th, 2016
Re: Building/Uploading with Start
Reply #19 - Sep 27th, 2016 at 1:44pm
Print Post  
After removing both sections from the project file, reloading the project works fine.

Build command still works.

If I leave Build unchecked at Build Configuration :
Start Debbuging/Widhout Debugging shows an error message : Unable to start program Sketch2.exe

If I check Build at Build Configuration :
VCMessage exception shows up again
« Last Edit: Sep 27th, 2016 at 1:48pm by 7Kronos »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
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: 12191
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: 12191
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: 12191
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: 12191
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: 12191
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: 12191
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: 12191
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] 
Send TopicPrint