go to the trouble of (doing something)

go to the trouble of (doing something)

To make the effort to do something. Oh, you didn't have to go to the trouble of preparing the guest bedroom for me—I could have just slept on the couch!See also: go, of, trouble