Any seemingly pointless activity which is actually necessary to solve a problem which solves a problem which, several levels of recursion later, solves the real problem you're working on.
phrased used to show that someone is crossing the line on a matter or getting onsomeones nerves, without realizing it, resulting in a bad outcome if one is not careful.