Preheat the oven to 350°F (175°C). Grease a 9-inch baking pan with butter and set aside.
In a mixing bowl, combine the flour and 1/2 cup of sugar. Use a pastry cutter or your fingers to cut in the cold, cubed butter until the mixture resembles coarse crumbs.
1 and 1/2 cups fresh raspberries
In a separate bowl, whisk together the eggs, remaining 1/2 cup sugar, and vanilla extract until well combined and slightly frothy. Pour this mixture into the crumbly flour-butter mixture and stir gently to form a thick batter.
1 and 1/2 cups fresh raspberries
Spread half of the batter evenly into the prepared baking pan. Scatter the fresh raspberries over the batter without pressing them down.
1 and 1/2 cups fresh raspberries
Top the raspberries with the remaining batter, carefully spreading it to cover the berries as evenly as possible.
1 and 1/2 cups fresh raspberries
Bake in the preheated oven for 40-45 minutes, or until the top is golden brown and a toothpick inserted into the center comes out clean. The berries should be bubbling at the edges.