diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2019-07-03 13:02:51 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2019-07-04 06:26:13 +0000 |
commit | 9034c6ade6b44345bfb774c4a377e88b604aee8e (patch) | |
tree | 663c5a8bdcef16b90779d9ebf032a5ba8a2a2f7a /src/plugins/pythoneditor/pythoneditorplugin.cpp | |
parent | c4512f466afc45efc21411b7d31ecbeae8fd28dd (diff) | |
download | qt-creator-9034c6ade6b44345bfb774c4a377e88b604aee8e.tar.gz |
Utils: Add logging category to SynchronousProcess
This helps to debug e.g. runGcc(), which is used for detecting
predefined macros or header paths for the code model.
The log gives also a (limited) overview of the (blocking) processes that
are run on Qt Creator start up.
The produced command line is copy-pastable.
The generated output looks like this:
qtc.utils.synchronousprocess: Starting blocking: /usr/bin/x86_64-linux-gnu-gcc-8 -dumpmachine
qtc.utils.synchronousprocess: SynchronousProcessResponse: result=0 ex=0
17 bytes stdout, stderr=""
qtc.utils.synchronousprocess: Starting blocking: /usr/lib/icecc/bin/clang++ -x c++ -E -dM -
qtc.utils.synchronousprocess: SynchronousProcessResponse: result=1 ex=115
0 bytes stdout, stderr="ICECC[9867] 2019-07-03 13:00:35: couldn't find any clang++\nICECC[9867] 2019-07-03 13:00:35: could not find clang++ in PATH.\n"
"The command \"/usr/lib/icecc/bin/clang++\" terminated with exit code 115."
Change-Id: I9bc7b24121801b0c98c52416848734d850aa9f4d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.cpp')
0 files changed, 0 insertions, 0 deletions