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:
@@ -53,6 +53,7 @@
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <projectexplorer/target.h>
|
||||
#include <projectexplorer/taskhub.h>
|
||||
#include <projectexplorer/toolchain.h>
|
||||
|
||||
#include <utils/outputformat.h>
|
||||
@@ -596,6 +597,12 @@ DebuggerRunControl *DebuggerRunControlFactory::doCreate
|
||||
(const DebuggerStartParameters &sp0, RunConfiguration *rc, QString *errorMessage)
|
||||
{
|
||||
Q_UNUSED(errorMessage);
|
||||
|
||||
TaskHub *th = ProjectExplorerPlugin::instance()->taskHub();
|
||||
th->clearTasks(Core::Id(Debugger::Constants::TASK_CATEGORY_DEBUGGER_DEBUGINFO));
|
||||
th->clearTasks(Core::Id(Debugger::Constants::TASK_CATEGORY_DEBUGGER_TEST));
|
||||
th->clearTasks(Core::Id(Debugger::Constants::TASK_CATEGORY_DEBUGGER_RUNTIME));
|
||||
|
||||
DebuggerStartParameters sp = sp0;
|
||||
if (!debuggerCore()->boolSetting(AutoEnrichParameters)) {
|
||||
const QString sysroot = sp.sysRoot;
|
||||
|
Reference in New Issue
Block a user