Preheat your oven to 350°F and lightly grease and flour your 9x13-inch baking pan. This step matters more than it seems, since a well-prepared pan makes it much easier to lift out clean squares later. Set the pan aside while you mix the batter.
In a large mixing bowl, beat the softened butter with the granulated sugar until the mixture looks pale and smooth. This usually takes about two minutes on medium speed. A well-creamed base gives the finished squares their soft, cake-like crumb.
Add the eggs one at a time, beating well after each addition so they fully incorporate. Stir in the vanilla extract last. Taking it slow here keeps the batter from curdling and helps everything blend into one smooth mixture.
Add the flour to the bowl and mix just until it's fully incorporated into the batter. Overmixing at this stage can make the squares dense instead of soft, so stop as soon as you no longer see streaks of flour.
Spread the batter evenly into your prepared pan using a spatula. With a small, sharp knife, score the surface into twenty-four 2-inch squares. This step makes it much easier to portion the cherry filling and slice cleanly once baked.
Spoon about a tablespoon of cherry pie filling onto the center of each scored square, making sure each portion gets a few whole cherries. The filling will sink slightly into the batter as it bakes, creating that signature puddle.
Bake for 30 to 35 minutes, or until a toothpick inserted into the cake part comes out clean. Let the pan cool completely to room temperature before dusting with confectioner's sugar and slicing along your scored lines.