コマンドラインからデバッグを開始する

コマンドラインからQt Creator デバッガインターフェースを使用できます。実行中のプロセスにデバッガをアタッチするには、-debug オプションのパラメータとしてプロセスIDを指定します。 コアファイルを調査するには、ファイル名を指定します。Qt Creator は、コアファイルに対応するバイナリの検索など、必要なすべての手順を実行します。デバッグサーバーに接続するには、サーバーの場所とポート番号を指定します。

例:

  • C:\qtcreator\bin>qtcreator -debug 2000
  • C:\qtcreator\bin>qtcreator -debug core=core.2000
  • C:\qtcreator\bin>qtcreator -debug some.exe,core=core
  • C:\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.