コマンドラインからデバッグを開始する
コマンドラインからQt Creator デバッガー・インターフェースを使用できます。実行中のプロセスにアタッチするには、-debug オプションのパラメータとしてプロセス ID を指定します。コア・ファイルを調べるには、ファイル名を指定します。Qt Creator は、コア・ファイルに属するバイナリの検索など、必要なすべてのステップを実行します。デバッグ・サーバーに接続するには、サーバーの場所とポート番号を指定します。
例えば
C:\qtcreator\bin>qtcreator -debug 2000C:\qtcreator\bin>qtcreator -debug core=core.2000C:\qtcreator\bin>qtcreator -debug some.exe,core=coreC:\qtcreator\bin>qtcreator -debug server=some.dot.com:4251
ハウツー:デバッグ、デバッギング、デバッガー、コマンドライン・オプション」も参照してください 。
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.