Commit 67513bcf authored by Tobias Hunger's avatar Tobias Hunger

Fix tasks about exceptions caught by CDB on windows

Task-number: QTCREATORBUG-8723

Change-Id: I8d6b42f435cc6814a263361e24a415d1a63b4e60
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent ab1634d3
......@@ -2421,7 +2421,7 @@ void CdbEngine::handleExtensionMessage(char t, int token, const QByteArray &what
const Utils::FileName fileName = exception.file.isEmpty() ?
Utils::FileName() :
Utils::FileName::fromUserInput(QString::fromLocal8Bit(exception.file));
const Task task(type, exception.toString(false),
const Task task(type, exception.toString(false).trimmed(),
fileName, exception.lineNumber,
Core::Id(Debugger::Constants::TASK_CATEGORY_DEBUGGER_RUNTIME));
taskHub()->addTask(task);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment