Crush the chocolate sandwich cookies into fine crumbs.
Mix the cookie crumbs with melted butter.
Press the mixture firmly into the bottom of a 9×13-inch dish.
Refrigerate the crust for 15 minutes.
Beat the cream cheese until smooth.
Mix in the powdered sugar.
Add the vanilla extract.
Fold in 1 cup of whipped topping.
Spread the cream cheese mixture over the chilled crust.
Whisk the pudding mix with the cold milk until thick.
Spread the pudding evenly over the cream cheese layer.
Top with the remaining whipped topping.
Drizzle caramel sauce over the whipped topping.
Drizzle chocolate syrup over the caramel.
Sprinkle chopped toasted pecans evenly across the top.
Garnish with chocolate shavings if desired.
Refrigerate for at least 4 hours before serving.
Slice and enjoy chilled.