VS Arduino
>> >> Debugging
https://www.visualmicro.com/forums/YaBB.pl?num=1588671838

Message started by Ottorius on May 5th, 2020 at 9:43am

Title: Debugging
Post by Ottorius on May 5th, 2020 at 9:43am
Hallo,
i see this error, what can i do?

Compiling debug version of 'Interrupt1' for 'Arduino Uno'
   ^~~~~~~~~~
Error compiling project sources
   Debug Build Error: This hardware might not support the default Visual Micro Debugger.
     If this project is using OTA/WiFi upload then please use the vMicro>Debugger menu to set the Serial COM and Remote port for the debugger.
     Otherwise switch the toolbar from 'Debug' to 'Release' and build again.
           or switch off Automatic Debugging
           or configure the SoftwareSerial debugger option.
   compilation terminated
Debug build failed for project 'Interrupt1'

Title: Re: Debugging
Post by Simon Hopkinson on May 5th, 2020 at 9:50am
Could you attach the full build log for this, with the options set as shown at the top in the yellow box? (this allows us to see more detail).

To work around the error, change the configuration on the toolbar from "Debug" to "Release", or ensure that the vMicro > Debugger option is set to "Off", which will disable the debugging features causing this error.

Title: Re: Debugging
Post by Ottorius on May 5th, 2020 at 10:34am
Here is the file. I hope everything is correct.
https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=MyError.txt ( 32 KB | 11 Downloads )

Title: Re: Debugging
Post by Simon Hopkinson on May 5th, 2020 at 10:43am
It appears as though the "Deep Search" option has been disabled.

Please re-enable the vMicro > Compiler > "Deep Search For Libraries + Accurate Prototype Insertion" option, and then try building the project again.

Title: Re: Debugging
Post by Ottorius on May 5th, 2020 at 11:28am
The above error message is gone, but I have a new one:

arduino.h:30: In file included from
Interrupt1.ino: from
Error compiling project sources

Interrupt1.ino: 45:5: error: conflicting declaration of 'void __vector_11()' with 'C' linkage
Debug build failed for project 'Interrupt1'
Interrupt1.ino:22: note  previous declaration with C++ linkage
   Controller pins
   ^~~~~~~~~~~

I attach the program file. It runs in the Arduino IDE.


https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=4KanG_leInterrupt.txt ( 4 KB | 12 Downloads )

Title: Re: Debugging
Post by Simon Hopkinson on May 5th, 2020 at 11:34am
Thanks for the update and glad the initial issue is resolved.

There has been an updated release which will resolve this issue (20.03.21.11), and it is due to recent improvements to prototype generation.

This is available for download from our Forum Releases Section

Title: Re: Debugging
Post by Ottorius on May 5th, 2020 at 11:40am
Thank you very much, I will try it out shortly.

Title: Re: Debugging
Post by Visual Micro on May 24th, 2020 at 1:24pm
Off-Topic replies have been moved to this Topic.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.