Wish: Debug - move Sub to top of window

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
When single-stepping through code and it goes to a Sub, the first line of the Sub is shown on the last line of the code editor in the IDE. Since I want to see what's coming before I go to the next line, I always have to stop and move the code up so that the Sub's first line is at the top.

I don't know how hard this would be to do, but if the Sub could automatically be moved up, it would save a lot of clicking on my part.

Edit:
While I'm on the subject, when you click on a Sub in the Modules Tab, the first line of the sub displays in the middle of the code editor. Since there's very little chance that we need to see the code in the sub physically above it, it would be nice to have the first line at the top in this situation too.

When single-stepping through code, another nice feature would be that the next line to execute would move to the center of the screen and the code scroll up as each step is done.
 
Last edited:
Top