# Can you speed up debugging in Renesas High Performance Embedded Workshop by not flashing after breakpoint

I am debugging an H8S MCU in Renesas High Performance Embedded Workshop 4 with the attached E10A emulator, and find it's very slow when stepping through code because it keeps reflashing the chip between some lines, but not all.

I could understand it reflashing if I change breakpoints, but not when there are no changes at all.

This is what the debug panel shows after a a bit of stepping, most of the flashing are after using F10 just to go the next line.

Each reflashing takes up to 10 seconds.

RUNNING
BREAK KEY
Flash memory writing ...
Flash memory write end
RUNNING
BREAK POINT
Flash memory writing ...
Flash memory write end
RUNNING
Flash memory writing ...
Flash memory write end
BREAK POINT
Flash memory writing ...
Flash memory write end
Flash memory writing ...
Flash memory write end
Flash memory writing ...
Flash memory write end
RUNNING


I'm sure at one point I got it to stop doing this and it just stepped instantly, but I seem to have lost the setting.

Before I spend hours trying to solve it, I wondered if anyone knows if this is just how it is?

There are some options which looked likely described on Page 127 of the manual, under menu: Setup > Emulator > System.

I changed Step over option to No programming and initially it didn't seem to help, but now it seems much faster.

It still flashes occasionally, e.g. when returning from some subroutine, but not on every line anymore - it's much better!

I now see in the debug pane:

RUNNING
BREAK POINT
Flash memory writing ...
Flash memory write end
SUBROUTINE END
SUBROUTINE END
SUBROUTINE END
SUBROUTINE END
SUBROUTINE END
SUBROUTINE END
SUBROUTINE END
SUBROUTINE END
SUBROUTINE END
SUBROUTINE END
SUBROUTINE END
SUBROUTINE END