v. phr. To be extremely desirous to do something; to take the trouble to do something. The captain was at pains to see that everybody got safely into the lifeboats.
BE AT PAINS
Meaning of BE AT PAINS in English
American idioms English vocabulary. Английский словарь американских идиом. 2012