Bring salted water to the boil in a large pot. Carve tomatoes crosswise with a knife and blanch them in boiling water for about 20 seconds, lift them out of the pot with a skimmer and rinse them in cold water.
Then put the noodles into the pot and cook for about 8 minutes. In the meantime, skin the tomatoes, quarter them, remove the seeds and cut them into strips. Peel garlic and chop finely. Heat the oil in a pan.
Sauté the garlic in it. Add half of the tomato strips and braise briefly. Season with sugar, salt and pepper and deglaze with vegetable stock. Bring to the boil. Clean, wash and roughly chop the rocket.
Drain the spaghetti and let it drain. Roast pine nuts in a pan without fat until golden brown. Add the rest of the tomato strips and rocket to the sauce. Mix the spaghetti with the sauce. Cut Parma ham into strips, slice Parmesan cheese.
Arrange spaghetti on plates, sprinkle with strips of Parma ham, pine nuts and parmesan slices.