Debugging shortcuts

Last modified: March 2, 2023

The following shortcut key combinations can be used while debugging T-SQL database objects and SQL scripts.

Command Name Shortcut Keys Action Where is used
Breakpoints CTRL+Alt+B Open the Breakpoints pane Global
Call Stack CTRL+Alt+C Open the Call Stack pane Global (when a debug session is started)
Watches CTRL+Alt+W Open the Watches pane Global (when a debug session is started)
Delete All Breakpoints CTRL+SHIFT+F9 Delete all breakpoints Global (when debug session is started)
Toggle Breakpoint F9 Enable or disable a breakpoint depending on its current state SQL document or T-SQL Database Objects
Start/Continue Alt+F5 Start/continue debugging SQL document or T-SQL Database Objects
Stop Debugging SHIFT+F5 Stop debugging Global (when a debug session is started)
Restart CTRL+SHIFT+F5 Restart debugging Global (when a debug session is started)
Step Into F11 Step into the next statement SQL document, stored procedure, function, or Global when a debug session is started
Step Over F10 Step over next statement SQL document, stored procedure, function, or Global when a debug session is started
Step Out SHIFT+F11 Step out of a stored procedure, function, or trigger Global (when a debug session is started)