Green’s Dictionary of Slang

caught with one’s breeches/trousers down phr.

see under catch v.1