Can't mask interrupts during step with OpenOCD and cortex-m3

OpenOCD usually disables interrupts while single stepping, to avoid being constantly caught in timer tick interrupts.

The best way to debug interrupts is to place a breakpoint in the beginning of the interrupt handler and use resume instead of step.

Regards,

Magnus