Line a baking sheet with foil or parchment; heat the oven to 300˚F.
Cut each tomato in half in the circumference. Place on the prepared baking sheet, drizzle the oil over the tomatoes, sprinkle with the salt, garlic, pepper and herbs.
Lay the tomatoes cut side up. Make sure that the tomatoes have lots of space between each other so that the heat can circulate. Make sure that all the oil, garlic and herbs are over the tops of the tomatoes. Sprinkle the tomatoes with sugar.
Roast the tomatoes for 2-3 hours (depends on the size and ripeness). The tomatoes should look shrunken, mostly dried out but still with a tiny bit of wetness to them. You should be able to pick up a tomato without it losing much of its shape.
Use right away or store in the fridge for 2-3 days or in the freezer for 6 months.