The Arduino development system is a powerful tool but has no debugging or emulation capabilities. The Simulator for Arduino is the best debugging tool available and is ranked #1 on most review sites.
Simulator for Arduino is an Arduino Simulator which may be downloaded or purchased from www.virtronics.com.au. The Free version has a 30 minute trial, a thirty day trial period (or 300 seconds until unlocked) or 100 sketches then a 30 second incrementing delay on opening sketches and is code limited to 200 lines. The Pro Version has no limitations, and is supplied with updates until the end of the calendar year. A subscription option with >50% discount is then available to renew the Pro licence for another year.
The benefits and features of an Arduino Simulator are:
The SIMFORARDUINO Pro Version license is licenced to one user only for use on only two computers, with a condition that any other user can use the Simulator for up to one hour for educational use only. SiteWide licences with generous discounts are available to Educational institutions for 25 or more seats. Email Virtronics for more info (firstname.lastname@example.org)
Press F1 inside the Simulator to open context sensitive help.