CLion 2018.2 Help

Using Hexadecimal View

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

To enable the hexadecimal view:

  1. Go to Help | Find Action on the main menu and start typing Registry, choose Registry from the search results:
    Find Action Registy
  2. In the dialog that opens, type hex (you will see the cidr.debugger.value.numberFormatting.hex setting highlighted), and set the corresponding checkbox:
    Registry Hex View
  3. Navigate to Settings / Preferences | Build, Execution, Deployment | Debugger | Data Views | C/C++ and set the checkbox Show hex values for numbers. Choose to have hexadecimal values displayed instead or alongside the original values.

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: 18 July 2018