Checkpointing while debugging stream state merging