Preheat your oven to 350°F (175°C) and grease a 9x13-inch baking dish.
In a large mixing bowl, cream together the softened butter, granulated sugar, and brown sugar until light and fluffy.
Add the eggs one at a time, mixing well after each addition, then stir in the vanilla extract.
In a separate bowl, whisk together the flour, baking powder, and salt.
Gradually add the dry ingredients to the wet mixture, mixing until just combined.
Fold in the chopped pecans and chocolate chips.
Spread half of the batter evenly into the prepared baking dish.
Drizzle half of the caramel sauce over the batter.
Spoon the remaining batter on top, spreading it gently, and then drizzle the rest of the caramel sauce over the top.
Bake in the preheated oven for 25-30 minutes, or until a toothpick inserted into the center comes out with a few moist crumbs.
Allow the bars to cool in the pan for at least 15 minutes before cutting into squares.