Debugger: Disable DebugInfoTaskHandler

This only worked for distributions with a RedHat/Fedora upstream
so far and requires more dynamicity in the TaskWindow as the
TaskHandler dies with the engine, leading to crashs.

Change-Id: I20d0b3c79e4fd0026cd2a0c9ff5b0a4be22c3121
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
hjk
2013-02-27 17:07:03 +01:00
committed by Tobias Hunger
parent e395af1ac1
commit 1566582a8c

View File

@@ -268,7 +268,7 @@ GdbEngine::GdbEngine(const DebuggerStartParameters &startParameters)
invalidateSourcesList();
m_debugInfoTaskHandler = new DebugInfoTaskHandler(this);
ExtensionSystem::PluginManager::addObject(m_debugInfoTaskHandler);
//ExtensionSystem::PluginManager::addObject(m_debugInfoTaskHandler);
m_commandTimer.setSingleShot(true);
connect(&m_commandTimer, SIGNAL(timeout()), SLOT(commandTimeout()));
@@ -287,7 +287,7 @@ GdbEngine::GdbEngine(const DebuggerStartParameters &startParameters)
GdbEngine::~GdbEngine()
{
ExtensionSystem::PluginManager::removeObject(m_debugInfoTaskHandler);
//ExtensionSystem::PluginManager::removeObject(m_debugInfoTaskHandler);
delete m_debugInfoTaskHandler;
m_debugInfoTaskHandler = 0;