Register view
During a debug session, you can inspect register values of the current frame in the Variables view:
![Registers node in the Variables pane Registers node in the Variables pane](https://resources.jetbrains.com/help/img/idea/2024.1/cl_registers_node.png)
When you switch to disassembly, CLion adds the Registers node and the registers used by the current function. Register values are also shown inlined in the disassembly view:
![Registers node added in disassembly view Registers node added in disassembly view](https://resources.jetbrains.com/help/img/idea/2024.1/cl_registerview_disasm.png)
To view registers for the sources as well, right-click in the Variables pane and select Registers | Always Show:
![Opening register view Opening register view](https://resources.jetbrains.com/help/img/idea/2024.1/cl_registerview_menu.png)
Select register sets
By default, CLion shows only the general purpose registers. Use the Registers section of the context menu to add other register sets:
Register values representation
CLion shows register values in hex. If the debugger provides an alternative representation, it is shown next to the hex values and colored in grey:
![Hex and decimal representation of register values Hex and decimal representation of register values](https://resources.jetbrains.com/help/img/idea/2024.1/cl_registers_hex_dec.png)
Wide vector registers are shown as nodes with children. Currently, this mode is supported by GDB only.
![Wide vector registers as nodes with children Wide vector registers as nodes with children](https://resources.jetbrains.com/help/img/idea/2024.1/cl_registers_wide.png)
Search for a particular register
Focus in the Variables pane and start typing the register name:
Keep track of register values
Right-click the register you want to track and select Add to Watches from the context menu:
The register will move to the top, and you will see the value being updated as you step through the code:
Modify a register value
Select the register and press F2.
Enter the new value and press Enter.