i using MAX7219 to drive 8x8 matrix, below is the code for filling matrix, i am trying to interrupt the program with button and start from where it interrupted.
like play pause.
You do not have a problem with interrupts because you are not using them. I can't see any calls attachInterrup() or ISR()! Interrup has a very specific meaning in software!.
You do have a problem with your code seeing the button being pushed, this is because of your use of delay()!
Start over, after looking at "blink with out delay".