Click here to Skip to main content
15,898,373 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

How to switch between breakpoints in normal mode not in run mode in c# using keyboard shortcut.

See, if I keep a break point on top and bottom of the coded page, its difficult to scroll up and down as the code is very lengthy, so I need to know the shortcut to switch over breakpoints.
Posted
Updated 27-Feb-14 20:18pm
v3
Comments
george4986 28-Feb-14 2:20am    
Type function keys

F11 (Detailed)
F10 (Skip Functions)
BillWoodruff 28-Feb-14 3:34am    
As you've found out there are no keyboard short-cuts in Visual Studio for navigating from BreakPoint to BreakPoint.

I was about to reply with an alternative using BookMarks where simple key-combinations (I have my own custom choices set) can navigate backwards and forwards, and across Forms, but, if you are happy with using the BreakPoint Navigator ... good for you.

Certainly, using a BreakPoint ... once you learn to use the options presented when you context-click on a BreakPoint ... offers you more functionality than a BookMark.

If you want me to post the reply showing how to modify the keyboard-shortcuts for BookMarks, let me know.
Raja Vignesh. R 28-Feb-14 3:45am    
Hi...

For sure, I would like to know, kindly post...
Thanks.
BillWoodruff 28-Feb-14 3:53am    
Okay.

Use F11 key to switch between breakpoints or to move forward in normal mode using IDE Visual Studio.
 
Share this answer
 
Comments
BillWoodruff 28-Feb-14 3:26am    
F11 used at design-time will "step-into" the execution of the Application. The question asked here is about navigation in the Text Editor at design-time without launching the Application.
hi try this links

http://msdn.microsoft.com/en-us/library/da5kh0wa.aspx[^]

http://www.dofactory.com/ShortCutKeys/ShortCutKeys.aspx[^]

what is mean by run mode and normal mode ? if u run then only u can reach break points and if u press F11 it debug code ,if u click F5 it run the code
 
Share this answer
 
Hi all,

I got the solution...

You can use Ctrl + Alt + B it open a break points window and you can navigate
 
Share this answer
 
At the OP's request, I will go ahead and post an alternative using BookMarks that does allow using keyboard shortcuts to quickly "jump around" in any open edit document where you have inserted BookMarks, and across documents to BookMarks in other Forms, or whatever.

First, you can see, if you examine the 'Edit/BookMarks sub-menu in Visual Studio, that there are built-in Keyboardshortcuts for adding/removing (Toggle) a BookMark, and navigating to the next BookMark, or Previous BookMark.

I have found it convenient to change these from their current (imho "complex") key-combinations to the following:

Toggle BookMark     Alt + t   [1]
Next BookMark        Alt + down-arrow
Previous BookMark       Alt + up-arrow

To understand how to re-define the shortcut keys for the Visual Studio Text Editor, see: [^].

[1] I would have used Alt + b for 'Toggle, but Alt + b is reserved for dropping-down the 'Build Menu, and I didn't want to change that (not that I ever use it).
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900