Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 

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 and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Unable to open the output file of the disassembled view (Read 2940 times)
Noël D.
Junior Member
**
Offline



Posts: 19
France
Unable to open the output file of the disassembled view
Nov 27th, 2021 at 7:12pm
 
Hello,

In Visual Studio 2022, I am unable to open the output file of the disassembled view because the link in the Output window is not correct; it seems like it is truncated before the dieresis of my firstname in a folder name (please see attachment).

Fortunately, Micro Disassembly works and shows the correct output. But I'd like to click the link to open the output file.

I did not have this issue in Visual Studio 2019.

Thanks,
Back to top
 

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



Posts: 11541
United Kingdom
Re: Unable to open the output file of the disassembled view
Reply #1 - Nov 27th, 2021 at 7:16pm
 
Thanks for the report. This must be to do with a difference between the vs2022 and vs2019 output window.

I suspect that we can add quotes around the path or convert to short file names syntax, that should make it work. We will investigate.

We are also looking into some slow build issues for users that have unicode characters in their windows pc user name. We will try to combine a fix for this report into that fix.
Back to top
 

Tim Leek
home
WWW  
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 19
France
Re: Unable to open the output file of the disassembled view
Reply #2 - Nov 27th, 2021 at 10:24pm
 
Thanks for your prompt reply and for looking into this.
Back to top
 
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1578
Re: Unable to open the output file of the disassembled view
Reply #3 - Nov 30th, 2021 at 4:05pm
 
The latest release (21.11.08-07) should resolve this issue, and can be downloaded from the top of the below page:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
Back to top
 
 
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 19
France
Re: Unable to open the output file of the disassembled view
Reply #4 - Nov 30th, 2021 at 4:48pm
 
Thanks for the update.

I've downloaded and installed the latest release but now I encounter a linking error that I did not get before so I cannot verify that opening the disassembly view works.

The linker tells that there are multiple definitions for setup() and loop() functions but there are only one of each in the single .ino file; other files are .h and .cpp and don't have any setup() or loop() implementations. Thanks,

Code:
Error linking for board ATmega328P (Arduino Nano)
(.text+0x0)*: multiple definition of setup
Address.cpp.o (symbol from plugin)*: (.text+0x0): first defined here

Address.cpp.ansi-gcc-e.cpp.o (symbol from plugin)*: In function setup
(.text+0x0)*: multiple definition of loop
Address.cpp.o (symbol from plugin)*: (.text+0x0): first defined here

collect2.exe*: error: ld returned 1 exit status
Build failed for project 'Address'
 


Back to top
 
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1578
Re: Unable to open the output file of the disassembled view
Reply #5 - Nov 30th, 2021 at 4:51pm
 
Thanks for the update.

Is this the same after running Build > Clean Solution and then re-compiling the project?

If not, can you attach the full Build output with the vMicro > Compiler > Verbose, and Show Build Properties enabled?
Back to top
 
 
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 19
France
Re: Unable to open the output file of the disassembled view
Reply #6 - Nov 30th, 2021 at 4:59pm
 
I've clean the solution but the error persists.

I've enabled the Show Build Properties option, Verbose was already enabled.

I will try to send you the build output in PM.
Back to top
 
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1578
Re: Unable to open the output file of the disassembled view
Reply #7 - Nov 30th, 2021 at 5:08pm
 
Thanks for the detail, would it also be possible to ZIP and send the whole solution so we can investigate the reason for this more easily?

(This is never shared, and is deleted as soon as the issue has been investigated from our machines)
Back to top
 
 
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 19
France
Re: Unable to open the output file of the disassembled view
Reply #8 - Nov 30th, 2021 at 5:22pm
 
I've sent the download link to the archive of the source code in PM. Thanks,
Back to top
 
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1578
Re: Unable to open the output file of the disassembled view
Reply #9 - Nov 30th, 2021 at 6:00pm
 
Thanks for the files, we will investigate this error and update when the solution is available.
Back to top
 
 
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 19
France
Re: Unable to open the output file of the disassembled view
Reply #10 - Nov 30th, 2021 at 6:24pm
 
Thank you.
Back to top
 
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1578
Re: Unable to open the output file of the disassembled view
Reply #11 - Dec 1st, 2021 at 12:32pm
 
This is now resolved in the latest release (21.11.08-08) available from the top of the below board:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
Back to top
 
 
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 19
France
Re: Unable to open the output file of the disassembled view
Reply #12 - Dec 2nd, 2021 at 7:53pm
 
Thanks for the update.

I've installed an update from a notification in VS2022 today before I saw the forum notification.

When I try to run the installer from the link above, I get the message:
---------------------------
VSIX Installer
---------------------------
This extension is already installed to all applicable products.
---------------------------
OK   
---------------------------

Does this mean that the version from the link is the same as the extension already installed from Visual Studio?

Anyway, I've tried the installed version and I can compile again but the link of the disassembly view looks the same as in my initial post but with the quotes.

Thanks,
Back to top
 
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1578
Re: Unable to open the output file of the disassembled view
Reply #13 - Dec 3rd, 2021 at 3:10pm
 
The latest release 21.11.08-10 will resolve this, and is available from the top of the below forum board:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
Back to top
 
 
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 19
France
Re: Unable to open the output file of the disassembled view
Reply #14 - Dec 3rd, 2021 at 4:22pm
 
This latest version does work (both compilation and link).

My first name looks encoded as No%C3%ABl in the path but that's a minor issue as long as the file does open when I click the link.

Thank you.
Back to top
 
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline



Posts: 11541
United Kingdom
Re: Unable to open the output file of the disassembled view
Reply #15 - Dec 3rd, 2021 at 4:46pm
 
Great. The Vs output window requires Uri encode for your name otherwise it won't open the links.
Back to top
 

Tim Leek
home
WWW  
IP Logged
 
Noël D.
Junior Member
**
Offline



Posts: 19
France
Re: Unable to open the output file of the disassembled view
Reply #16 - Dec 3rd, 2021 at 4:55pm
 
The working link is more important so it's fine with me. Thanks for your help.
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print