to go to (the) trouble
01
to make the effort to do something that may cause inconvenience or difficulty
Exempel
Thanks for going to the trouble of helping me move to my new apartment.
to make the effort to do something that may cause inconvenience or difficulty