se deu ao trabalho de

bothered to

→ se
phrase Rare #29,322
bothered to Often suggests that someone made an effort, sometimes with a tone of surprise or criticism. In European Portuguese, the pronoun usually follows the verb in an affirmative sentence: «deu-se ao trabalho de».
PO: Ela deu-se ao trabalho de trazer café para todos.
EN: She went to the trouble of bringing coffee for everyone.

Não se deu ao trabalho de me dizer quanto estava a pagar aos outros.

He didn't even bother to tell me how much he was paying the others.

Não percebeu ou se deu ao trabalho de ver o que quero?

Didn't you realize or bother to see what I mean?

— A Criada (2016)

Então por que ela se deu ao trabalho de vir aqui?

So why did she go to the trouble of coming here?