The Private Life of Sherlock Holmes
The plotting is weak, and ill-served by the movie's generally lackadaisical approach; but the dialogue is witty, and Wilder and Diamond get a lot of mileage out of the idea that Sherlock Holmes is as fragile as he is brilliant.