Is there an Arduino Simulator?

I was wondering if anyone knew of an Arduino simulator? Something you could run your programs on and see what outputs/etc are doing while the code is running.

I'm no programmer by a long shot, but in the little I've done at work with VB or other IDEs I have really liked being able to run a program with stop points and see just what my code was doing at the time - what the variables were, etc. I've yet to figure out how to do that with any of my Arduino code.

I'm at a point in a project when I need to start using arrays and I would like to see what is happening with all my variables and make sure things are going as planned.

I've been limited to writing short programs that will test an idea and then attempting to use that same method in a much larger program. It has worked up to now, but last night's build didn't work and it does not make sense to me as to why. Seeing all those variables/assignments would really help.

Plus - I could work on my programming at work - without having to bring in the whole project from home! lol

TIA!
Thanks

Yes there are Arduino simulators. You can use strategically chosen serial prints to debug. But honestly, for typical coding, breakpoints are just a crutch. You can do a walkthrough instead of single stepping.

Download tinker cad from Autodesk I use the circuit section it has Arduino and simulations and wiring