QML JS Debugger: disable interruption on exceptions.

There is too much false exceptions that makes debugging annoying
This commit is contained in:
Olivier Goffart
2010-08-31 16:39:41 +02:00
parent fd0311bda2
commit f80c15123b

View File

@@ -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
}
/*!