'be at pains' definitions:

Definition of 'be at pains'

(from WordNet)
verb
Try very hard to do something [syn: take pains, be at pains]