-2

When debugging in Visual Studio 2015, after jumping from a reference of an identity to its definition, can I jump back from the definition to the previous reference?

Thanks.

Tim
  • 1
  • 141
  • 372
  • 590

3 Answers3

4

Yup. There is a "Navigate backwards" command that will do what you want.

enter image description here

You can see where it is for me and it is part of the "Standard" shortcut bar. It can also be found under the "View" menu or the keyboard shortcut is ctrl+-.

Chris
  • 27,210
  • 6
  • 71
  • 92
2

You could try Cntrl + -. This would bring you to the last position of the cursor.

The original Answer is here Did I get you right?

For more information on navigation by shortcuts this post is quite helpfull

Community
  • 1
  • 1
Mong Zhu
  • 23,309
  • 10
  • 44
  • 76
2

Assuming that you have been doing things in sequence, you can Navigate Backwards

Keyboard Shortcut

Hitting Ctrl + - (Ctrl and minus at the same time)


Visual Studio Toolbar GUI

Alternatively, you can also do this by hitting the back button on the toolbar

enter image description here


Mouse Shortcut

Lastly, the "3rd" mouse button if you have one, usually on the left side. (The same mouse button that gets your browser to navigate backwards)

Svek
  • 12,350
  • 6
  • 38
  • 69