Debugging pipelined cpu