CLion 2023.2 Help

Run tool window

Run tool window opens automatically when you run your application and displays the generated output.

Run tool window

The actual appearance of this tool window depends on the application type and can include additional tabs, toolboxes, and panes.

Tool window tabs

Pin tabs

If you are running multiple applications, each one is displayed in a tab named after the run/debug configuration applied. To preserve the output of a application, even if you re-run it, pin the output tab.

  • Right-click the tab and select Pin Tab.

    To pin tabs by default, press Control+Alt+S to open the IDE settings, select Advanced Settings and enable the Make configurations pinned by default option.

Split tabs

CLion enables you to split the active Run tool window vertically or horizontally.

  • Right-click the desired tab in the tool window and select one of the split options: Split and Move Right or Split and Move Down.

  • Another way to do this is by dragging and dropping the desired tab. CLion highlights the available areas in the tool window where you can place the tab.

  • To unsplit the tool window, right-click the top pane and select Unsplit from the context menu.

Run toolbar

The main toolbar of the Run tool window lets you rerun, stop, pause, or terminate a application.

Item

Tooltip and shortcut

Description

the Rerun button

Rerun Control+F5

Click this button to stop the current application and run it again.

the Stop button

Stop Control+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).

Console toolbar

Item

Tooltip and shortcut

Description

previous occurrence next occurrence

Up/down the Stack Trace

    Control+Alt+ArrowUp Control+Alt+ArrowDown

Click this button to navigate up or down in the stack trace and have the caret jump to the corresponding location in the source code.

the Soft-Wrap button

Use Soft Wraps

Click this button to toggle the soft wrap mode of the output.

Scroll to the end

Scroll to the end

Click this button to navigate to the bottom of the stack trace and have the caret jump to the corresponding location in the source code.

the Print button

Print

Click this button to send the console text to the default printer.

Clear all

Clear All

Click this button to remove all text from the console. This function is also available from the context menu of the console.

Last modified: 09 September 2023