Debugging
General debugging steps
- Configure the debugger options.
- Define a run/debug configuration for the application to be debugged.
- Create breakpoints in the source code.
- Launch a debugging session.
- Pause or resume the debugging session as required.
- During the debugger session, step through the breakpoints, evaluate expressions, change values on-the-fly, examine suspended program, and set watches.
After you've started a debug session, the icon that marks the Debug tool window toggles to to indicate that the debug process is active.
Keyboard Shortcuts
You can use the following shortcuts for building, running, and debugging programs:
Command | Shortcut |
---|---|
NuGet Quick List | Shift+Alt+N |
Build Solution | Ctrl+Shift+B |
Run context configuration | Ctrl+F5 |
Run... | Ctrl+Shift+Alt+R |
Debug context configuration | F5 |
Debug... | Shift+Alt+F9 |
Stop | Shift+F5 |
Resume Program | F5 |
Step Over | F10 |
Force Step Over | Shift+Alt+F8 |
Step Into | F11 |
Force Step Into | Alt+F11 |
Step Out | Shift+F11 |
Run to Cursor | Ctrl+F10 |
Force Run to Cursor | Ctrl+Alt+F9 |
Set Next Statement | Ctrl+Shift+F10 |
Show Execution Point | Ctrl+L |
Toggle Line Breakpoint | F9 |
Toggle Temporary Line Breakpoint | Ctrl+Shift+Alt+F8 |
Toggle Breakpoint Enabled | Ctrl+F9 |
View Breakpoints... | Ctrl+Alt+B |
Edit breakpoint | Alt+F9 |
Attach to Local Process... | Ctrl+Shift+Alt+A |
Evaluate Expression... | Alt+F8 |
Quick Evaluate Expression | Shift+F9 |
Set Next Statement | Ctrl+Shift+F10 |
Show Build window | Alt+0 |
Show Run window | Alt+4 |
Show Debug window | Alt+5 |
Show NuGet window | Alt+7 |
For the full list of Rider keyboard shortcuts, see Keyboard Shortcuts Reference.
Last modified: 11 October 2017