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
Normal Topic No matching function for call to 'VisualMicroDebug::begin(USBSerial*, int) (Read 5629 times)
YO_BE
Newbies
*
Offline


Posts: 9
Joined: Jan 4th, 2016
No matching function for call to 'VisualMicroDebug::begin(USBSerial*, int)
Jan 27th, 2016 at 3:23am
Print Post  
Hi,
I would really appreciate help on this issue. When this is solved, I can finally switch over to Visual Studio!!!
As I am using Chipkit, I tried to compile my programs. All works fine for Chipkit UNO, but when selecting Fubarino board I get this message.
Can someone give some clues what is wrong or where I can start looking. In my other IDE environment it works without problems when selecting Fubariono.... Something related to serial.port

Compiling debug version of 'YOBE v2' for 'Fubarino SD (Seeed/1.4)'
YOBE v2.ino:In function 'void setup()
YOBE v2.ino:97:70: error: no matching function for call to 'VisualMicroDebug::begin(USBSerial*, int)
VM_DBG.h:begin(HardwareSerial*)
VM_DBG.h:begin(HardwareSerial*, long unsigned int)
Error compiling project sources
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No matching function for call to 'VisualMicroDebug::begin(USBSerial*, int)
Reply #1 - Jan 28th, 2016 at 1:11pm
Print Post  
Hi,

This looks like the definition of the serial port has changed in recent chipKit updates and that the Visual Micro debugger doesn't know about this change yet.

Please switch the tool bar from "Debug/Local windows debugger" to "Release". Then you have an Arduino/ChipKIT compatible build without debug.

We will look into the debug for the ChipKIT Uno
  
Back to top
IP Logged
 
JD_Designs
Newbies
*
Offline


Posts: 1
Joined: May 11th, 2016
Re: No matching function for call to 'VisualMicroDebug::begin(USBSerial*, int)
Reply #2 - May 11th, 2016 at 1:00am
Print Post  
Hello,
I have the same problem. System configuration:
Windows 10 64-bit
Visual Studio Pro 2015 Update 2
Arduino IDE 1.6.7
ChipKit PIC32 Core 1.1.0 Add-In
Fubarino Mini 1.5 Board

The Release mode works fine, but switching to Debug gives the following error:

Code
Select All
Compiling debug version of 'AccuThrowFBmini' for 'Fubarino Mini'
AccuThrowFBmini.ino:In function 'void setup()
AccuThrowFBmini.ino:483:68: error: no matching function for call to 'VisualMicroDebug::begin(USBSerial*, int)
:void setup() {
    debugger: The error shown above might be caused by invalid breakpoint syntax or the board is not yet supported for debugging (pls let us know!)
AccuThrowFBmini.ino:candidates are
AccuThrowFBmini.ino:In file included from
VM_DBG.h:begin(HardwareSerial*)
:void begin(HardwareSerial *theSerial)
VM_DBG.h:note    candidate expects 1 argument, 2 provided
VM_DBG.h:begin(HardwareSerial*, long unsigned int)
:void begin(HardwareSerial *theSerial, unsigned long baud)
VM_DBG.h:note    no known conversion for argument 1 from 'USBSerial*' to 'HardwareSerial*
Error compiling project sources
 



Is there any update on a fix for this issue?
Thanks.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No matching function for call to 'VisualMicroDebug::begin(USBSerial*, int)
Reply #3 - May 12th, 2016 at 1:54am
Print Post  
Hi JD,

I got your pm, sorry for the delay I have been looking into this before responding. Other threads that don't require investigation do get answered quicker so they are either out of the way or progressing with further information or diagnostic requests.

The Fubarino debug is now working on the default Serial port which is a USBSerial port instead of the standard HardwareSerial. 

btw: Debugging of the Fubarino should be working in the current release when using the alternative Serial0 or Serial1 ports (see debug using different ports and pins in the docs).

There should be a new release for the Fubarino debug over the next 24 hours.

Thanks

@YO_BE sorry this thread got lost and the delayed fix. Next time if you don't hear back please post a reminder Smiley
« Last Edit: May 12th, 2016 at 1:55am by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No matching function for call to 'VisualMicroDebug::begin(USBSerial*, int)
Reply #4 - May 12th, 2016 at 8:45pm
Print Post  
Version was published yesterday with debug support on the main Serial (USBSerial) port
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint