Line following general question

You need to post ALL the code.

I would say you have it the wrong way round. Step the motors from the interrupts and look at the line from the loop.