2. Complete debug: Memory, variable values, breakpoints, ...
How is a debugger running on the PC going to help debug a program running on the Arduino? When it is on batteries and not even connected to the computer?
Years ago (long before my first Arduino) I spent some time programming on my PC using NetBeans which is a similar concept to Eclipse.In the end I gave it up in favour of the Geany editor which is what I now use for all my programming (including for my Arduinos). It just makes life much simpler.And I have written a simple Python program to compile and upload Arduino code using the command-line IDE....R
But on Geany you also have not access to the memory.
I use Sloeber. It integrates the Arduino core packages used by Arduino IDE into Eclipse. It has all your requirements and more. (I didn't try debugging (JTAG)). One of the best features is instant opening of library source codes.I use Eclipse for Java at work many years so I was happy I can use it for Arduino too.
That's quite true. I have never felt the need for it.And the Atmega 328 and 2560 MCUs don't have provision for accessing memory separately from the running program....R
Is very important when you're trying to find memory leaks,
Don't you know what every byte is used for?...R
Visual Micro has debugging functionality but some of it is just automatically added Serial.print() statements. It's also possible to do true on chip debugging with the right hardware. The Atmel ICE would be the current debugger of choice for the AVR (works for SAM also) MCUs. You can buy Xplained boards from Microchip that have an onboard debugger, though apparently it's not as good as the ICE. If you're into chips other than AVR that might change things.I think it could be very useful to have the option of on chip debugging but I don't want to use Atmel Studio and haven't managed to get it working without Atmel Studio so I'm stuck with the Serial.print(). Well, that works OK for me so far.
Eclipse IDE Arduno plugin uses the same board packages as the Arduino IDE uses
Hi, Juraj.Is that option also included on Visual Micro? I'm more interested on this IDE