meaning of be at pains

be at pains meaning in General Dictionary

try very hard to-do anything