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
Debug .c source file (Read 109 times)
Greg Terrell
Junior Member
**
Offline



Posts: 23
Debug .c source file
Sep 11th, 2019 at 6:11pm
 
Is it possible to debug (set/hit breakpoints) within a .c source file? I have a project with an .ino file and the only other source files is a .c file. I know there is a method being executed in that file, which contains a breakpoint (no continue) that is not stopping execution.

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



Posts: 10620
United Kingdom
Re: Debug .c source file
Reply #1 - Sep 11th, 2019 at 6:18pm
 
The usb debugger requires serial or ano other arduino object that don't work easily in .c files. .cpp files are best.

One option might be to use the Visual Micro hardware debugging instead of Software.
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print