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
Locked Topic Debugging (Read 1605 times)
Ottorius
Newbies
*
Offline


Posts: 4
Joined: May 5th, 2020
Debugging
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'
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2143
Joined: Feb 13th, 2019
Re: Debugging
Reply #1 - 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.
  
Back to top
 
IP Logged
 
Ottorius
Newbies
*
Offline


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

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


Posts: 2143
Joined: Feb 13th, 2019
Re: Debugging
Reply #3 - 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.
  
Back to top
 
IP Logged
 
Ottorius
Newbies
*
Offline


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

  

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


Posts: 2143
Joined: Feb 13th, 2019
Re: Debugging
Reply #5 - 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
  
Back to top
 
IP Logged
 
Ottorius
Newbies
*
Offline


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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugging
Reply #7 - May 24th, 2020 at 1:24pm
 
Off-Topic replies have been moved to this Topic.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint