CDB
要设置管理 CDB 进程的首选项,请转至首选项>Debugger >CDB 。
下表概述了首选项。
首选项 | 值 |
---|---|
Additional arguments | 启动 CDB 的附加参数。 |
Use CDB console | 如果控制台应用程序无法在配置的控制台中正常启动,且后续连接失败,请使用本机 CDB 控制台诊断问题。选择此复选框可覆盖 Windows 系统环境变量中设置的控制台。请注意,本机控制台不会在应用程序退出时提示。 |
Ignore first chance access violations | 禁用访问违规异常的首次中断。第二次出现访问违规时将进入调试器。 |
Stop when CrtDbgReport() is called | 自动在CrtDbgReport() 函数上添加断点,以捕捉由assert() 等引起的运行时错误信息。 |
Correct breakpoint location | CDB 可以在注释或未生成代码的源代码行中设置断点。在这种情况下,断点会被转移到实际生成代码的下一行源代码上。要通过移动源代码编辑器中的断点标记来反映这种临时更改,请选择此复选框。更多信息,请参阅设置断点。 |
Use Python dumper | 使用 Python Dumper 类的抽象层创建Locals 和Expressions 视图中的数据项描述。更多信息,请参阅调试助手实现。 |
Enable heap debugging | 使用调试堆而不是普通堆分配内存。调试堆具有检查功能,有助于诊断与堆相关的错误,但在调试进程中分配内存时会对性能产生负面影响。 |
Break On | 调试器是否应在 C++ 异常、线程创建或退出、加载或卸载指定应用模块或指定输出时中断。 |
Add Exceptions to Issues View | 显示Issues 中关于第一次机会和第二次机会异常的信息。 |
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.