调试器

设置并使用调试器调试可执行二进制文件以及 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.