I can verify/compile to make sure the code...compiles error free. Is there a way to run the code and use the serial monitor without having to upload the code to the chip?
I don´t think arduino offers such an option since you are generating a hex file which is normally uploaded to a microcontroller.
The serial monitor reads the output from the microcontroller, so you´d have to emulate.
Have a look at processing, maybe it has such features.
You'd have to get an Arduino emulator to run it on a computer instead of an Arduino. That would be the only way.
When I first got into Arduino I had the same idea and went looking for an emulator. I was unable to find a free or open source one that worked very well. The ones that didn't look too bad were for sale for about the same price as an Arduino. Jimmy's conclusion was an actual Arduino was the best solution.
It is a shame there is no good emulator. The ios platform offers one when writing for the iphone.
Thanks for the replies.
I sometimes will run parts of code on Processsing.org to test it out. There's no debug there either but you don't have to upload the code. And you can get instant feedback of what's going on, on your screen.
I'm trying to figure this out. Here are my notes: inventorArtist » Debugging and Arduino
Looks like I will add an ARM board to my lab and try that... STM32VLDISCOVERY
The ios platform offers one when writing for the iphone.
Yes, it does. It also comes with an advisory that says that the simulator is no substitute for testing on a real device. It also does not simulate real hardware, like the camera, GPS, accelerometer, compass, etc.