# Assembly view for files

In CLion, you can explore the underlying assembly code without starting a debug session.

> **Tip:**
> For information on the debugger's disassembly view, refer to [this page](disassembly-view.html).

Procedure: Open assembly for a file

1. Select the run/debug configuration from which CLion will take the compiler settings.

2. Open the file in the editor. Right-click inside it and select Show Assembly from the context menu:

![Show Assembly in the context menu](https://resources.jetbrains.com/help/img/idea/2026.2/cl_showassembly_contextmenu.png)

Alternatively, press `Ctrl+Shift+A` (Windows), `⌘ ⇧ A` (macOS), `⌘ ⇧ A` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ P` (macOS System Shortcuts), `Ctrl+Shift+A` (XWin), `Ctrl+Shift+A` (GNOME), `Ctrl+Shift+A` (KDE), `Escape, X` (Emacs), `Ctrl+Shift+P` (Sublime Text), `⌘ ⇧ P` (Sublime Text (macOS)), `⌘ ⇧ A` (Xcode), `Ctrl+Shift+A` (Visual Studio), `⌘ ⇧ A` (Visual Studio (macOS)), `Ctrl+Shift+A` (ReSharper), `⌘ ⇧ A` (ReSharper (macOS)), `Ctrl+Shift+A` (QtCreator), `⌘ ⇧ A` (QtCreator (macOS)), `Ctrl+I` (NetBeans), `Ctrl+Shift+A` (Eclipse), `⌘ 3` (Eclipse (macOS)) to open the Find Action dialog, start typing Show Assembly and select the action from the list:

![The Show Assembly action](https://resources.jetbrains.com/help/img/idea/2026.2/cl_showassembly_findaction.png)

3. When you invoke Show Assembly, CLion uses the compiler settings from the selected configuration to compile the code to assembly. In the preview, you can see which source code produces which assembly:

![Assembly view for a file](https://resources.jetbrains.com/help/img/idea/2026.2/cl_showassembly_view.png)

Procedure: Change compiler arguments and refresh assembly

* At the top of the assembly tab, you can find the compiler arguments field. If you change the flags, make sure to click ![](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.inline.refresh.svg) to refresh the assembly view:

![Refresh assembly view with modified flags](https://resources.jetbrains.com/help/img/idea/2026.2/cl_showassembly_refresh.png)

Procedure: View x86 assembly and raw output

* Use the ![Options](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.settings.svg) menu to switch to x86 assembly (Intel) syntax and/or view raw output with symbol names but without any specific syntax:

![the Use Intel Syntax and Show Raw Output options](https://resources.jetbrains.com/help/img/idea/2026.2/cl_showassembly_options.png)

> **Note:**
> The Use Intel Syntax option is disabled for ARM architectures and [MSVC](quick-tutorial-on-configuring-clion-on-windows.html#MSVC) toolchains.

## Current limitations

* Only the GCC, Clang, and Visual Studio C++ compilers are supported.

* Show Assembly doesn't work for [CUDA](cuda-projects.html) files.

## See also

### How tos

[Compile files without build](compiling-single-file.html) [Disassembly view in debug](disassembly-view.html)

