Preheat the oven to 180 ° C top / bottom heat. Wash the cherry tomatoes, dry them and cut them in half. Place on a baking tray lined with baking paper, drizzle with a little olive oil and roast in the oven for about 20 minutes.
Boil the spaghetti in salted water. Meanwhile, put some oil in a pan and fry the chopped garlic and diced ham. Stir in the cream and simmer a little over medium heat. Season with a little salt and freshly ground pepper, stir in a little parmesan and let it melt. Reduce the heat further and stir in the basil pesto. Drain the finished spaghetti, add to the sauce and mix well. If necessary, an egg yolk can be folded in.
Finally, carefully fold in the roasted tomatoes, decorate with a little basil if necessary and serve while hot.
By roasting in the oven, the tomatoes develop a great aroma and become very sweet, which goes well with the aromatic pesto cream.