"I like debugging: it's the one time that hacking is as straightforward as people think it is. You have a totally constrained problem, and all you have to do is solve it."
Hehe. I might have been over the top when I wrote my previous comment. But seriously, I would prefer working on things that I do not know yet than fixing other people's code.
This made me think of a contrary point of view.
"I like debugging: it's the one time that hacking is as straightforward as people think it is. You have a totally constrained problem, and all you have to do is solve it."
http://www.paulgraham.com/hp.html
I try to foster this attitude, now, when fixing bugs.