# 十六进制视图

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/zh-cn/help/clion/llms.txt).

对于整数类型的数值变量，您可以查看其十六进制表示形式，替代或与原始格式并排显示。

整数类型的十六进制视图适用于所有平台上的 GDB 和 LLDB 调试器，包括 [远程调试](remote-development.html)和 [WSL](how-to-use-wsl-development-environment-in-product.html)。

Procedure: 启用十六进制视图

1. 转到  `设置 | 构建、执行、部署 | 调试器 | 数据视图 | C/C++` 。

2. 选中   将整数显示为十六进制值  复选框，并选择以十六进制值替代或与原始视图并排显示：

![在调试器设置中启用十六进制视图](https://resources.jetbrains.com/help/img/idea/2026.3/cl_debugger_dataviews_cpp_hex.png)

现在，十六进制格式同时显示在 [变量](examining-suspended-program.html#variables)窗格的   调试  工具窗口中以及编辑器的内联变量视图中：

![调试器十六进制视图](https://resources.jetbrains.com/help/img/idea/2026.3/cl_hexview.png)

## See also

### 参考

[Debug Tool Window](debug-tool-window.html)

### 流程

[Debug](debugging-code.html) [检查挂起的程序](examining-suspended-program.html)

### 操作指南

[调试器选项](configuring-debugger-options.html)

### 外部链接

[Webinar Recording: CLion Ask Me Anything Session: Debugger](https://www.youtube.com/watch?v=Kz5NQiji9YU5&t=244s) [CLion Debugging Beyond the Basics - Part 1 - Suspended](https://blog.jetbrains.com/clion/2021/03/clion-debugging-beyond-the-basics-part-1-suspended) [Video playlist: CLion Debugger](https://www.youtube.com/playlist?list=PLQ176FUIyIUawCufBKmmWkRq2t5sl1xsM)

