In a medium, deep saucepan, heat the olive oil on medium heat.
Add in the onions, salt, pepper, and a pinch of sugar, and cook until the onions have softened, add in the chopped tomatoes and tomato sauce, turn the heat to low, and cover. Simmer for at least 10-15 minutes.
When the tomatoes and onions are both soft and the sauce is cooked down, make 4 small wells in the tomato mixture, and crack an egg in each one. Top with salt and pepper, then cover again, and allow to cook for another 5-10 minutes, depending on how firm you want your egg to be.
Serve immediately with plenty of bread!