CLion 2024.3 Help

Hexadecimal view

For numerical variables of integer types, you can examine hexadecimal representation instead or alongside the original formatting.

Hex view for integer types is available for both GDB and LLDB debuggers on all platforms, including the remote debug case and WSL.

Enable hex view

  1. Go to Settings | Build, Execution, Deployment | Debugger | Data Views | C/C++.

  2. Set the Show integers as hex values checkbox and choose to have the hex values displayed instead or alongside the original view:

    Enabling hex view in debugger settings

Now the hexadecimal formatting is shown both in the Variables pane of the Debug tool window and in the editor's inline variables view:

Debugger hex view
Last modified: 11 February 2024