In Visual Studio, F5 is used for both of StartDebugging and Continue, which is rather annoying. Because many other IDEs/Debuggers don't act in the same way, e.g. cgdb, IntelliJ IDEA.
For simplicity and universality, I want to use one key-binding scheme for all IDEs/Debuggers. I cannot change other IDEs/Debuggers to bind both of StartDebugging and Continue to F5.
So, my question is:
Is there a way to separately bind StartDebugging and Continue to different keys in Visual Studio?
On the menu bar, choose Tools > Options. Expand Environment, and then choose Keyboard. Optional: Filter the list of commands by entering all or part of the name of the command, without spaces, in the Show commands containing box. In the list, choose the command to which you want to assign a keyboard shortcut.
F11 -> Execute code one statement at a time, following execution into function calls (Step Into).
Use a mouse to assign or remove a keyboard shortcutGo to File > Options > Customize Ribbon. At the bottom of the Customize the Ribbon and keyboard shortcuts pane, select Customize. In the Save changes in box, select the current document name or template that you want to save the keyboard shortcut changes in.
The command you're looking to change is called Debug.Start
This link describes how you can remap commands to different keys:
http://msdn.microsoft.com/en-us/library/5zwses53.aspx
Debug.Start
is the same command for both Run and Continue, so you cannot map the action to different keys.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With