参与远程调试会话Take Part in a Remote Debugging Session

适用于:Windows 8.1、Windows 8Applies To: Windows 8.1, Windows 8

不管是使用 Windows® 远程调试客户端主持远程调试会话的管理员,还是受邀用户,都可以访问共享的内核调试程序 (KD) 命令窗口。The administrator who hosts a remote debugging session using the Windows® Remote Debugging client, and the people who have been invited, all have access to a shared kernel debugger (KD) command window. 不管你的角色是什么,都可以输入调试命令并查看结果。Whatever your role, you can enter debug commands and view the results.

使用共享的 KD 窗口Using the shared KD window

共享 KD 窗口包括一个命令行,主持人和来宾都可以在其中输入调试命令。The shared KD window includes a command line in which both host and guests can enter debug commands. 这些命令依照收到的顺序运行。The commands are run in the order in which they are received.

有关所有 KD 命令和元命令的信息,请参阅随 Windows Remote Debugging 客户端下载的 KD.chm 文件。For information about all KD commands and meta-commands, see the KD.chm file that is downloaded with the Windows Remote Debugging client.

输入调试命令的步骤To enter a debug command

  1. 在开始之前,你可以查看 KD 帮助文件中的 KD 命令列表。Before you start, you may review the list of KD commands in the KD Help file.

  2. 在 KD 窗口的页脚,输入所需命令,然后按“Enter”*In the footer of the KD window, enter the command you want and then press *Enter.

发出命令的用户的名称和公司将随着输出显示在窗口中。The name and company of the user issuing the command is displayed in the window, along with the output.

在 Windows Remote Debugging 客户端窗口中使用 KD 命令Using KD commands in the Windows Remote Debugging client window

Windows Remote Debugging 客户端窗口中的命令与 KD 窗口中的命令有相似的工作方式,但存在以下例外:Commands in the Windows Remote Debugging client window work similarly to commands in the KD window, with the following exceptions:

名称Name 描述Description

控制键Control keys

在 Windows Remote Debugging 客户端中使用与你在 KD 中使用的相同控制键,但增加了 Alt 键。Use the same control keys in the Windows Remote Debugging client that you use in KD, with the addition of the Alt key. 例如,如果你在 KD 中按 Ctrl+B,你要在 Windows Remote Debugging 客户端窗口中按 Ctrl+Alt+B。For example, if you press Ctrl+B in KD, you press Ctrl+Alt+B in the Windows Remote Debugging client window.

命令历史记录Command history

使用键盘上的向上和向下箭头键来滚动浏览 KD 命令历史记录。Use the up and down arrow keys on your keyboard to scroll through the KD command history.

上下文菜单命令Context menu commands

在“命令”窗口的输出区域中单击鼠标右键时,上下文菜单将显示标准选项,例如“复制”、“粘贴”和“查找”When you right-click in the output area of the Command window, the context menu displays the standard options, such as Copy, Paste, and Find. 另外,你可以单击“打开/关闭日志文件”以弹出一个对话框,在其中可在本地磁盘上创建文件以记录“命令”窗口中的输出数据、将数据附加到现有日志,或关闭日志。In addition, you can click Open/Close Log File to bring up a dialog box where you can create a file on your local disk to log output data from the Command window, append data to an existing log, or close a log.

相关主题Related topics

准备远程调试Prepare for Remote Debugging

主持远程调试会话Host a Remote Debugging Session

加入远程调试会话Join a Remote Debugging Session

远程调试客户端的已知问题Known Issues with the Remote Debugging Client

向 Microsoft 发送有关该主题的评论Send comments about this topic to Microsoft