What does be at pains mean?

be at pains meaning in General Dictionary

try very hard to-do anything