Added auto-snapshot for -break and -step modes