Debug single step very slow!

press f10 takes seconds to next line!!
eg:
from line51 to line53

possible reasons?

I’ve noticed that the debugger is slow if the peripherals or register panel was opened at least once, because then it will load all the peripheral register memory one by one. So just reloading the VSCode window and keeping those panels collapsed might help.

If not, please file a bug in the platform-xxxx repo you’re using (see your platformio.ini), e.g., https://github.com/platformio/platform-riscv_gap/issues.