visually stepping through the code -simulator-

With Arduino.h it will, yes.

I've never tried it myself. I've never needed to breakdown the Arduino walled garden.