forked from qt-creator/qt-creator
QML JS Debugger: disable interruption on exceptions.
There is too much false exceptions that makes debugging annoying
This commit is contained in:
@@ -303,8 +303,10 @@ void JSDebuggerAgent::exceptionThrow(qint64 scriptId,
|
|||||||
{
|
{
|
||||||
Q_UNUSED(scriptId);
|
Q_UNUSED(scriptId);
|
||||||
// qDebug() << Q_FUNC_INFO << exception.toString() << hasHandler;
|
// qDebug() << Q_FUNC_INFO << exception.toString() << hasHandler;
|
||||||
|
#if 0 //sometimes, we get exceptions that we should just ignore.
|
||||||
if (!hasHandler && state != Stopped)
|
if (!hasHandler && state != Stopped)
|
||||||
stopped(true, exception);
|
stopped(true, exception);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Reference in New Issue
Block a user