Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
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....
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
Debugging (Read 206 times)
Ottorius
Newbies
*
Offline



Posts: 4
Debugging
May 5th, 2020 at 10: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'
Back to top
 
 
IP Logged
 
Simon Hopkinson
Administrator
*****
Offline



Posts: 246
Re: Debugging
Reply #1 - May 5th, 2020 at 10: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.
Back to top
 
 
IP Logged
 
Ottorius
Newbies
*
Offline



Posts: 4
Re: Debugging
Reply #2 - May 5th, 2020 at 11:34am
 
Here is the file. I hope everything is correct.
Back to top
 

MyError.txt (32 KB | 2 )
 
IP Logged
 
Simon Hopkinson
Administrator
*****
Offline



Posts: 246
Re: Debugging
Reply #3 - May 5th, 2020 at 11: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.
Back to top
 
 
IP Logged
 
Ottorius
Newbies
*
Offline



Posts: 4
Re: Debugging
Reply #4 - May 5th, 2020 at 12:28pm
 
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.

Back to top
 
 
IP Logged
 
Simon Hopkinson
Administrator
*****
Offline



Posts: 246
Re: Debugging
Reply #5 - May 5th, 2020 at 12:34pm
 
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
Back to top
 
 
IP Logged
 
Ottorius
Newbies
*
Offline



Posts: 4
Re: Debugging
Reply #6 - May 5th, 2020 at 12:40pm
 
Thank you very much, I will try it out shortly.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10653
United Kingdom
Re: Debugging
Reply #7 - May 24th, 2020 at 2:24pm
 
Off-Topic replies have been moved to this Topic.
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print