forked from qt-creator/qt-creator
Debugger: Log exceptions in build pane.
- Introduce constants for task categories, add "RunTime". - Log exceptions under "RunTime". - Clear pane on debugger start. - Add 'first chance' Task-number: QTCREATORBUG-8141 Change-Id: Icf68def06c42a0f3bb86dcc2ae74750b5397ca52 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -1929,8 +1929,12 @@ TaskHub *DebuggerEnginePrivate::taskHub()
|
||||
{
|
||||
if (!m_taskHub) {
|
||||
m_taskHub = ProjectExplorerPlugin::instance()->taskHub();
|
||||
m_taskHub->addCategory(Core::Id("Debuginfo"), tr("Debug Information"));
|
||||
m_taskHub->addCategory(Core::Id("DebuggerTest"), tr("Debugger Test"));
|
||||
m_taskHub->addCategory(Core::Id(Debugger::Constants::TASK_CATEGORY_DEBUGGER_DEBUGINFO),
|
||||
tr("Debug Information"));
|
||||
m_taskHub->addCategory(Core::Id(Debugger::Constants::TASK_CATEGORY_DEBUGGER_TEST),
|
||||
tr("Debugger Test"));
|
||||
m_taskHub->addCategory(Core::Id(Debugger::Constants::TASK_CATEGORY_DEBUGGER_RUNTIME),
|
||||
tr("Debugger Runtime"));
|
||||
}
|
||||
return m_taskHub;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user