OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c0dae7
)
Debugger: Allow pure qml debugging if no C++ debugger is configured
author
Kai Koehne
<kai.koehne@nokia.com>
Fri, 15 Oct 2010 11:28:46 +0000
(13:28 +0200)
committer
Kai Koehne
<kai.koehne@nokia.com>
Fri, 15 Oct 2010 11:38:12 +0000
(13:38 +0200)
Don't complain e.g. about a missing cdb debugger if the user doesn't
want to debug C++ anyway.
Task-number: QTCREATORBUG-2376
Reviewed-by: hjk
src/plugins/debugger/debuggerrunner.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/debugger/debuggerrunner.cpp
b/src/plugins/debugger/debuggerrunner.cpp
index
990b154
..
03b2853
100644
(file)
--- a/
src/plugins/debugger/debuggerrunner.cpp
+++ b/
src/plugins/debugger/debuggerrunner.cpp
@@
-537,6
+537,9
@@
bool DebuggerRunControl::checkDebugConfiguration(int toolChain,
bool success = true;
+ if (!(DebuggerPlugin::instance()->activeLanguages() & CppLanguage))
+ return success;
+
switch(toolChain) {
case ProjectExplorer::ToolChain::GCC:
case ProjectExplorer::ToolChain::LINUX_ICC: