 Simulators are available for some microcontrollers.These allow a developer to analyze what the behavior of the microcontroller and their program should be if they were using the actual part.A simulator will show the internal processor state and also that of the outputs, as well as allowing input signals to be generated.