PLEASE NOTE: Upgrading to the 1.6.11+ Arduino IDE can cause compile errors. In that case, one time fix is... open the "Visual Micro Explorer > Board Manager" then click the Rescan button or re-start the ide.
ESP8266 NOTE: December 2017 - WiFi (with OTA) Debug Beta has been released. Update of variables during debug is not yet supported. Uses UDP messaging. Breakpoints and debugging auto-deactivate when a debug session ends. To upload with USB and debug with WiFi set the "Remote Transport" project property to "Udp" and the "Local Port" to the IpAddress. For OTA devices there is no configuration required except to switch the tool bar from "Release" to "Debug". It is also recommended to switch on "vMicro>Debugger>Full Speed". Beta - Do not use with remote devices that can not be manually reset.
Visual Micro is a free fully compatible Arduino programming plugin for Microsoft Visual Studio and Atmel Studio. Visual Studio and Atmel Studio are also available for free. The 'Pro' version is also free for education in public funded or not-for-profit organizations.
Visual Micro uses the configuration of the Arduino IDE. That means that if your code works in the Arduino IDE then it should automatically work in Visual Micro (without additional configuration). There are also configuration features that surpass the Arduino IDE for advanced users.
Arduino compatible hardware from a wide range of manufacturers is supported. Visual Micro automatically understands all of the open source cross platform (hardware and library) designs that have been published for Arduino since forever :)
Arduino sketch/project code does not need to change to work in Visual Studio, it remains fully compatible with the Arduino IDE (whichever version you are using)
New Arduino users are guided to work within the normal Arduino framework, in a similar manner to the Arduino IDE. Advanced Arduino users have a range of options that allow the simple (but restricting) Arduino rules to be broken. The following example demonstrates the IDE in it's simplest form.
Visual Micro is fully compatible with the features of the Arduino development environment and uses the same libraries, source code and development tools. The difference lies in Visual Micro's user interface which provides a more professional development environment.
The plugin also supports all Arduino library formats, all third party Arduino compatible hardware and, for the more advanced user, all programmer combinations.
April 2015 now includes an automatic Board Downloader and Manager
and a Library Downloader and Manager
IDE features such as:- see/edit library sources, jump to code definition, jump to compiler error, class explorer, intellisense, remembers board and Arduino version per project, code completion and a super fast compiler make learning and programming Arduino faster and easier.
youtube overview. A quick start guide is at the bottom of this page. See us and other development tools on arduino.cc
Oct 2015 - Pro users can create, test and debug Arduino libraries.
Sept 2015 - Break all of the Arduino rules if you want! Override C++ compiler properties. pro users can store code in sub folders. share code with other projects.
Aug 2015 - Support for the @Plot command in the Pro version of Visual Micro. Use the breakpoint 'when hit' property to implement any number of graphs to visualize Arduino variables and/or expressions. Plot related values on the same graph, set colors, labels and caption. The Arduino program code does not need to be edited to use the Visual Micro debugging tools.
other stuff ...
Visual Micro also includes an optional (not free) Arduino software debugger.
The debugger is unique and for the first time enables Arduino developers to monitor a running Arduino by simply clicking the code they want to monitor.
The concept of clicking code and adding break or trace points is common practise. The unique element that Visual Micro provides is to silently add (inject) special (known protocol) Arduino 'Serial' instructions during compilation without altering the developers original source code.
The debugger also listens for the special debug Serial messages and populates the various debugger status windows to reflect what is happening on the Arduino. When required, for break points that pause and wait, the 'Serial' is also used by the Arduino to listen for the F5 Continue command.
The debugger supports many features found in hardware debug tools such as conditional breakpoints, hit counters and update of variables without need to re-compile. There is also a few features not found in other debug tools such as timed break points and trace points (ie: every x millis).
The usb debugger is a very quick and useful but does not have some features found in hardware debuggers. For example the Visual Micro debugger can only step between break points where as a hardware debugger can usually step each line of code. note: Changing break or trace point settings requires re-compile and upload to the Arduino
Visual Micro provides many additional features such as compiler error drill down, disassembly view, Arduino help and examples explorer, usb serial debugger and more. The examples explorer makes it easy to work with or view the examples installed with the Arduino IDE and libraries (see below).
Tips for Arduino variations:-
Atmel Studio 7
Energia and texas Instruments
Please see the documentation for more information.
For help, assistance and new release notifications please join the free forum