Commit f80c1512 authored by Olivier Goffart's avatar Olivier Goffart
Browse files

QML JS Debugger: disable interruption on exceptions.

There is too much false exceptions that makes debugging annoying
parent fd0311bd
......@@ -303,8 +303,10 @@ void JSDebuggerAgent::exceptionThrow(qint64 scriptId,
{
Q_UNUSED(scriptId);
// qDebug() << Q_FUNC_INFO << exception.toString() << hasHandler;
#if 0 //sometimes, we get exceptions that we should just ignore.
if (!hasHandler && state != Stopped)
stopped(true, exception);
#endif
}
/*!
......
Supports Markdown
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