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 Visual Micro IDE Debugging (Read 821 times)
carynschram
Newbies
*
Offline


Posts: 2
Joined: Apr 8th, 2024
Visual Micro IDE Debugging
Apr 8th, 2024 at 9:43am
Print Post  
Hello,

I have had a very difficult time with using the Arduino IDE, it is very limited. I have used Visual Studios in the past, but has been a few years.

Has anyone done debugging with the Visual Micro?
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2708
Joined: Feb 13th, 2019
Re: Visual Micro IDE Debugging
Reply #1 - Apr 8th, 2024 at 10:28am
Print Post  
There are two main types of Debugger available in Visual Micro, depending on the board/s you are trying to use.

An overview of the differences in these approaches can be seen on the below page:
https://visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-Differences.html

1) Universal Serial Debugger:
This requires no additional hardware, and has Break/Trace points, as well as the ability to see pin states, and create custom plot charts.  It runs through the standard Serial port (or over WiFi), and can be setup easily by setting all break/trace points in the sketch and uploading it.
Documentation: https://visualmicro.com/page/User-Guide.aspx?doc=Debugging-Walkthrough-Start.htm...
Conditional Debugging Example Video: https://www.youtube.com/watch?v=kSxPGl8pEY8


2) Hardware Debugging:
This may require an external debug probe depending on the board you are using, and gives line by line stepping in your code, with the ability to debug libraries and core files.   
Documentation: https://visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-Tutorial.html
Video Example: https://www.youtube.com/watch?v=tkG5MvyEurI

If you confirm which board you are trying to debug we can give more specific links to the documentation for Hardware Debugging if desired.
  
Back to top
IP Logged
 
carynschram
Newbies
*
Offline


Posts: 2
Joined: Apr 8th, 2024
Re: Visual Micro IDE Debugging
Reply #2 - Apr 9th, 2024 at 1:08am
Print Post  
Quote:
There are two main types of Debugger available in Visual Micro, depending on the board/s you are trying to use.

An overview of the differences in these approaches can be seen on the below page:
https://visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-Differences.html geometry dash scratch

1) Universal Serial Debugger:
This requires no additional hardware, and has Break/Trace points, as well as the ability to see pin states, and create custom plot charts.  It runs through the standard Serial port (or over WiFi), and can be setup easily by setting all break/trace points in the sketch and uploading it.
Documentation: https://visualmicro.com/page/User-Guide.aspx?doc=Debugging-Walkthrough-Start.htm...
Conditional Debugging Example Video: https://www.youtube.com/watch?v=kSxPGl8pEY8


2) Hardware Debugging:
This may require an external debug probe depending on the board you are using, and gives line by line stepping in your code, with the ability to debug libraries and core files.  
Documentation: https://visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-Tutorial.html
Video Example: https://www.youtube.com/watch?v=tkG5MvyEurI

If you confirm which board you are trying to debug we can give more specific links to the documentation for Hardware Debugging if desired.

Thanks for your answer. I got t.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint