# 调试器控制台

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

在调试会话期间，您可以直接从 CLion 访问 GDB/LLDB 控制台。

> **Note:**
> 调试器控制台仅在程序暂停时可用。

Procedure:

1. 在   调试   工具窗口中，打开标记为   LLDB   或   GDB   的选项卡：

![调试器控制台选项卡](https://resources.jetbrains.com/help/img/idea/2026.3/cl_debuggerconsole_tab.png)

2. 此选项卡显示调试器的输出/错误流，并允许您运行 GDB/LLDB [commands](https://lldb.llvm.org/use/map.html)。

|  `Ctrl+Shift+F10` (Windows), `⌘ ⇧ F10` (macOS), `⌘ ⇧ F10` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ F10` (macOS System Shortcuts), `Ctrl+Shift+F10` (XWin), `Ctrl+Shift+F10` (GNOME), `Ctrl+Shift+F10` (KDE), `Ctrl+Shift+F10` (Emacs), `Ctrl+Shift+F10` (Sublime Text), `⌘ ⇧ F10` (Sublime Text (macOS)), `⌘ ⇧ F10` (Xcode), `Ctrl+Shift+F10` (Visual Studio), `⌘ ⇧ F10` (Visual Studio (macOS)), `Ctrl+Shift+F10` (ReSharper), `⌘ ⇧ F10` (ReSharper (macOS)), `Ctrl+Shift+F10` (QtCreator), `⌘ ⇧ F10` (QtCreator (macOS)), `Ctrl+Shift+F10` (NetBeans), `Ctrl+Shift+F10` (Eclipse), `⌘ ⇧ F10` (Eclipse (macOS))  |     快速切换到调试器控制台（仅在调试会话期间可用）。       如果调试工具窗口被隐藏，此操作将打开它并聚焦到调试器控制台选项卡。     |
|  `Ctrl+Space` (Windows), `⌃ Space` (macOS), `⌃ Space` (IntelliJ IDEA Classic (macOS)), `⌃ Space` (macOS System Shortcuts), `Ctrl+Space` (XWin), `Ctrl+Space` (GNOME), `Ctrl+Space` (KDE), `Alt+/` (Emacs), `Ctrl+Space` (Sublime Text), `⌃ Space` (Sublime Text (macOS)), `⌃ Space` (Xcode), `Ctrl+Space` (Visual Studio), `⌃ Space` (Visual Studio (macOS)), `Ctrl+Space` (ReSharper), `⌃ Space` (ReSharper (macOS)), `Ctrl+Space` (QtCreator), `⌃ Space` (QtCreator (macOS)), `Ctrl+Space` (NetBeans), `Ctrl+Space` (Eclipse), `⌃ Space` (Eclipse (macOS)) 或 `Tab` (Windows), `Tab` (macOS), `Tab` (IntelliJ IDEA Classic (macOS)), `Tab` (macOS System Shortcuts), `Tab` (XWin), `Tab` (GNOME), `Tab` (KDE), `Tab` (Emacs), `Tab` (Sublime Text), `Tab` (Sublime Text (macOS)), `Tab` (Xcode), `Tab` (Visual Studio), `Tab` (Visual Studio (macOS)), `Tab` (ReSharper), `Tab` (ReSharper (macOS)), `Tab` (QtCreator), `Tab` (QtCreator (macOS)), `Tab` (NetBeans), `Tab` (Eclipse), `Tab` (Eclipse (macOS))  |     调用由 GDB 或 LLDB 提供的命令补全功能。      ![调试器控制台中的代码补全](https://resources.jetbrains.com/help/img/idea/2026.3/cl_gdb_consolecompletion.png)  |

## See also

### 参考

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

