views:

75

answers:

3

I'm having trouble finding a way to prevent the VS2008 debugger from automatically jumping to the currently executing line of code when I click "Break All" to edit a source file. I want to keep my editing cursor where it is in a specific method.

A possible workaround is to use Bookmarks to jump back once debugging, but with frequent breaks and large source files (and programmer multitasking) it becomes cumbersome quickly.

I'm also open to other workarounds as well, or strategic suggestions in general.

Thanks!

+1  A: 
Fredrik Mörk
Thanks! I'm using a Microsoft Intellimouse Optical and I assumed that the back/forward buttons were the same as the Navigate buttons is VS. I was incorrect. Thanks again.
bufferz
+1  A: 

I also have an open source (GPL) add-in for Visual Studio 2005/2008 that binds the Navigate commands to the back/forward buttons on your mouse.

280Z28
+1  A: 

You can also use the keyboard shortcut Ctrl+-, that's Ctrl and the minus key.

Beaner
Edited in keyboard keys, hope you don't mind.
Fredrik Mörk
No, I don't mind. It actually looks great. I'll need to look and see how you did that.
Beaner