Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 

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 and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Simulator feature as software debbuging ? (Read 323 times)
DeeJayOne
Newbies
*
Offline



Posts: 2
Simulator feature as software debbuging ?
Mar 29th, 2022 at 10:34am
 
Hi everyone  Smiley

I'm a newbie here with Arduino and ESP boards.
I have worked in the past on some Microchip devices with the Microchip MPLAB IDE software tool.
A wonderfull feature of this IDE is the Simulator.
I'm asking if this feature exist with Visual Micro and if not, is it plan to add it in a next release ?
PS : debugging can be hardware or software and it seems that Arduino IDE alternative tools I have found on the net use the word "debug" mainly for hardware debugging. So it was not so clear for me.
Back to top
 
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1401
Re: Simulator feature as software debbuging ?
Reply #1 - Mar 30th, 2022 at 11:14am
 
Thanks for the questions.

The simulator feature does not currently exist in vMicro. Can you confirm which board/s you would want to use the simulator on so we can investigate adding this in?

The general differences between the debugging types can be seen on the below page:
https://www.visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-Differences.htm...

The debugging tools are often hardware based which vMicro fully supports, however we also have a software debugger which requires no wiring and allows far more breaks/traces/hitcounts as well as charts to be produced of your data and IO pins, and debugging over WiFi for ESP8266/ESP32 and WiFiNINA based boards:

Serial Debug Walkthrough Guide: https://www.visualmicro.com/page/User-Guide.aspx?doc=Debugging-Walkthrough-Start...

Conditional Serial Debugging: https://www.youtube.com/watch?v=kSxPGl8pEY8
Serial Debug Charting: https://www.youtube.com/watch?v=7LVu__0_jZA

WiFiNINA Serial Debug Over WiFi: https://www.youtube.com/watch?v=mHsZYS24yKE
ESP8266 Serial Debug Over WiFi: https://www.youtube.com/watch?v=kNR06xeKsQ8
ESP32 Serial Debug Over WiFi: https://www.youtube.com/watch?v=1cEPI0N8VPI
Back to top
 
 
IP Logged
 
DeeJayOne
Newbies
*
Offline



Posts: 2
Re: Simulator feature as software debbuging ?
Reply #2 - Apr 3rd, 2022 at 11:37pm
 
First, thanks for your reply with all good infos.

Starting with Arduino Uno board, I have tried TinkerCAD Circuits website tool. There is a basic simulator who works fine. As this web tool have a simulator, I thought all other tools should have a simulator. (my mind is a bit too optimistic sometimes !!!)

As the Arduino Uno board is used for beginners and education, I think it should be great to start a simulator function with this "basic" device (ATmega 328).

Otherwise, I will have to work with ESP devices.
I can see, it seems having lot of possibilities for hardware debug with this family (thanks for the links).

And to finish, I'm asking if we could also simulate Microchip 8-bits ┬ÁC (PIC12 series).

Regards
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print