Please can you describe how “cortex_m maskisr” command is disabled in visualGDB. I’m having the same issue as andyjt described above, debugging time interrupts on my stm32f746g discovery
You could run the “mon cortex_m maskisr on” command in the GDB Session window to automatically disable interrupts during stepping.
However this would only work for low-level JTAG adapters (i.e. won’t work with ST-Link). If you are using ST-Link, we would recommend setting the PRIMASK register to disable the interrupts manually while you are stepping through the critical parts of code.