From f80c15123b78c99bb216908a5f7a2be0dd59cd73 Mon Sep 17 00:00:00 2001 From: Olivier Goffart <olivier.goffart@nokia.com> Date: Tue, 31 Aug 2010 16:39:41 +0200 Subject: [PATCH] QML JS Debugger: disable interruption on exceptions. There is too much false exceptions that makes debugging annoying --- share/qtcreator/qmljsdebugger/jsdebuggeragent.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/qtcreator/qmljsdebugger/jsdebuggeragent.cpp b/share/qtcreator/qmljsdebugger/jsdebuggeragent.cpp index b94b0a81292..a10c747b830 100644 --- a/share/qtcreator/qmljsdebugger/jsdebuggeragent.cpp +++ b/share/qtcreator/qmljsdebugger/jsdebuggeragent.cpp @@ -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 } /*! -- GitLab