diff options
author | Lasse Holmstedt <[email protected]> | 2010-08-31 14:05:33 +0200 |
---|---|---|
committer | Lasse Holmstedt <[email protected]> | 2010-08-31 14:05:33 +0200 |
commit | 7607f2ffbe821cd12e443a0f9161fc37d3ec03e2 (patch) | |
tree | 5a2b4de74ed43f5ec4e2c5763e3579aaa6e3af12 /src/plugins/debugger/debuggerrunner.cpp | |
parent | 5ac78258564501f449f409fca46abe3a6ce7b87b (diff) |
Debugger UI: Removed debug language detection on mode change
It did more harm than good. Now, the auto detection is only done on
run control change - this is something that Creator could also remember.
Diffstat (limited to 'src/plugins/debugger/debuggerrunner.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerrunner.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggerrunner.cpp b/src/plugins/debugger/debuggerrunner.cpp index fd649a3079c..282b531097e 100644 --- a/src/plugins/debugger/debuggerrunner.cpp +++ b/src/plugins/debugger/debuggerrunner.cpp @@ -498,6 +498,7 @@ void DebuggerRunControl::start() return; } + plugin()->activateDebugMode(); DebuggerUISwitcher::instance()->aboutToStartDebugger(); const QString message = tr("Starting debugger '%1' for tool chain '%2'..."). @@ -506,8 +507,6 @@ void DebuggerRunControl::start() plugin()->showMessage(DebuggerSettings::instance()->dump(), LogDebug); plugin()->runControlStarted(this); - plugin()->activateDebugMode(); - engine()->startDebugger(this); m_running = true; emit addToOutputWindowInline(this, tr("Debugging starts"), false); |