stepper buttons and debounc

Are you using the enable/disable pin to stop the motor and controller?

Paul