foundry icon indicating copy to clipboard operation
foundry copied to clipboard

feat(`debugger`) cursor should auto-scroll to modified memory after an `MSTORE`

Open StErMi opened this issue 2 years ago • 2 comments

Component

Forge

Describe the feature you would like

Currently, when an MSTORE happens, the debugger will highlight the portion of the memory that has changed with a red colored text.

The problem is that the memory section of the debugger is not auto-scrolling to that location, and you need to move via CTRL+j/k to do that manually. Not knowing that the memory box doesn't auto-scroll, I thought that there was a bug in the debug feature because I was not seeing any change in the memory displayed in the UI.

Would make sense to automatically scroll to that position when a MSTORE happen?

Additional context

No response

StErMi avatar Jun 08 '22 09:06 StErMi