调试器

设置并使用调试器来调试可执行二进制文件,以及 QML、Java 和 Python 源代码。

CDB

管理 CDB 进程。

CDB Paths

将 Microsoft 符号服务器添加到调试器的符号搜索路径中。

Debug mode views

在调试时检查应用程序的状态。

Debugger Log

排查调试器的故障。

Debugging Qt Quick projects

调试 JavaScript 函数,执行 JavaScript 表达式以获取有关 UI 状态的信息,检查 QML 属性和 JavaScript 变量,并在运行时临时更改其值。

Debugging helpers

加载、自定义和添加调试辅助工具。

Evaluating expressions

计算算术表达式或函数调用的值。

GDB

管理 GDB 进程。

General debugger preferences

自定义调试视图并映射源代码路径。

Local variables and function parameters

检查局部变量和函数参数。

Peripheral Registers

查看外围设备(如鼠标、键盘、显示器、打印机或 USB 驱动器)的当前状态。

Setting breakpoints

设置断点以中断应用程序。

Supported debuggers

支持的调试器版本汇总。

Troubleshooting debugger

解决调试过程中可能遇到的问题。

Viewing and editing register state

查看通用和专用 CPU 寄存器的当前状态。

Viewing call stack trace

以调用堆栈跟踪的形式查看导致当前位置的嵌套函数调用。

Viewing disassembled code

查看当前函数的反汇编代码。

Viewing modules

查看被调试应用程序中包含的模块信息。

Viewing source files

查看被调试项目中包含的源文件。

Viewing threads

查看多线程应用程序中当前处于活动状态的线程。

另请参阅 “操作指南:调试”和“调试”

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.