Peel the onions and cut into thin wedges. Brew the tomatoes in boiling water, rinse, then peel off the peel, core and cut into cubes. Cut the dried tomatoes into small cubes.
Briefly fry the onions in oil, sprinkle with sugar, add sun-dried tomatoes and finely chopped garlic and fry for 2-3 minutes. Add the balsamic vinegar and season.
Cook the spaghetti until al dente and drain. Mix in the onion mixture, freshly chopped basil leaves and the fresh tomatoes. Pour in the cream and heat everything.
Arrange on a plate and grate the parmesan cheese over it.