views:

16

answers:

0

In Visual Basic (I've seen this in 2005 and 2008) when you hit a breakpoint or single step and the code on this line stretches past the end of the screen, the window automatically scrolls right so that as much of the line is visible as possible. I can see why this might be useful, but I find it a little distracting as the screen appears to jump around a lot while I'm trying to debug. Furthermore the context of the code can be chopped off, so if there's a few nested loops, ifs etc then the rest of the code can be entirely off screen which is frustrating.

Does anyone know how to disable this behaviour?