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


Posts: 23
Joined: Oct 3rd, 2016
Debug .c source file
Sep 11th, 2019 at 5:11pm
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debug .c source file
Reply #1 - Sep 11th, 2019 at 5:18pm
Print Post  
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 TopicPrint