Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
/*!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment