CLion 2021.1 Help

Run tool window

The Run tool window displays output generated by your application. If you are running multiple applications, each one is displayed in a tab named after the run/debug configuration applied.

If you re-run an application, the new output overwrites the contents of the tab. To preserve the output of an application, even if you re-run it, pin the output tab.

The appearance of each tab depends on the type of the application being run and can include additional toolboxes and panes.

The main toolbar of the Run tool window lets you rerun, stop, pause, or terminate an application. The following table contains descriptions of the buttons that are common for most applications.

Run Toolbar

ItemTooltip and shortcutDescription
the Rerun buttonRerun
Ctrl+F5
Click this button to stop the current application and run it again.
When an application is stopped the Stop button, this button toggles to the Run button.
the Run buttonRerun
Ctrl+F5
Click this button to rerun the current application.
This button appears, when an application is stopped the Stop button. When an application is running, this button toggles to the Rerun button.
the Stop buttonStop
Ctrl+F2

Click this button to terminate the current process externally by means of the standard shutdown script.

Clicking the button once invokes soft kill allowing the application to catch the SIGTERM event and perform graceful termination (on Windows, the Ctrl+C event is emulated). After the button is clicked once, it is replaced with the Kill Process button indicating that subsequent click will lead to force termination of the application (on Unix, SIGKILL is sent).

the Restore Layout buttonRestore LayoutClick this button to have the changes to the current layout abandoned and return to the default state.
Icons general pin tabPin TabClick this button to pin or unpin the current tab. You may need to pin a tab to prevent it from closing automatically when the maximum number of tabs is reached in this window.
the Close buttonClose
Ctrl+Shift+F4
Click this button to close the selected tab of the Run tool window and terminate the current process.

Context Menu Commands

ItemDescription
Compare with ClipboardOpens the Clipboard vs Editor dialog that allows you to view the differences between the selection from the editor and the current clipboard content. This dialog is a regular comparing tool that enables you to copy the line at caret to the clipboard, find text, navigate between differences and manage white spaces.
Copy URLChoose this command to copy the current URL to the system clipboard. This command only shows on a URL, if it is included in an application's output.
Create GistChoose this command to open the Create Gist dialog.
Clear AllClears the output window.

Console Toolbar

ItemTooltip and shortcutDescription
previous occurrence next occurrenceUp/down the Stack Trace
    Ctrl+Alt+Up Ctrl+Alt+Down)
Click this button to navigate up or down in the stack trace and have the cursor jump to the corresponding location in the source code.
the Soft-Wrap buttonUse Soft WrapsClick this button to toggle the soft wrap mode of the output.
Scroll to the endScroll to the endClick this button to navigate to the bottom of the stack trace and have the cursor jump to the corresponding location in the source code.
the Print buttonPrintClick this button to send the console text to the default printer.
Clear allClear AllClick this button to remove all text from the console. This function is also available from the context menu of the console.
Last modified: 09 April 2021