simulator: add debug messages to some of the simulated functions.