将调试器附加到启动进程
指示调试器监视应用程序进程,并在该进程启动时附加到它:
- 访问Debug >Start Debugging >Attach to Unstarted Application 。
- 在Kit 中,选择用于构建项目的构建和运行工具包。
- 在Executable 中,指定应用程序可执行文件的路径。
- 选择Reopen dialog when application finishes 可在应用程序关闭时返回此对话框。
- 选择Continue on attach 可指示调试器在附加应用程序后继续运行应用程序。
- 选择Start Watching 可等待应用程序进程启动。
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.