summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/breakhandler.cpp
diff options
context:
space:
mode:
authorAurindam Jana <aurindam.jana@nokia.com>2011-10-10 15:25:18 +0200
committerAurindam Jana <aurindam.jana@nokia.com>2011-10-11 11:25:34 +0200
commit32ef6c563d41623956e2419d149e9f83ce422394 (patch)
treee83b81bfd7d390150acaf55eb8e07ebfdf72b621 /src/plugins/debugger/breakhandler.cpp
parentf1db83be8be50b48ac1db80640b66e7f2b67d4c1 (diff)
downloadqt-creator-32ef6c563d41623956e2419d149e9f83ce422394.tar.gz
V8DebuggerClient: Enable breakpoints on Exceptions
Previously break on exceptions was always enabled. Now, the user can add a breakpoint on Javascript Exceptions from the breakpoint window in the debugger. Change-Id: Ia9ee813d2fccf89b607fe1dcbad47b4084155a48 Reviewed-on: http://codereview.qt-project.org/6348 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'src/plugins/debugger/breakhandler.cpp')
-rw-r--r--src/plugins/debugger/breakhandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp
index cb1df995c2..0bc771de6b 100644
--- a/src/plugins/debugger/breakhandler.cpp
+++ b/src/plugins/debugger/breakhandler.cpp
@@ -124,6 +124,8 @@ static QString typeToString(BreakpointType type)
return BreakHandler::tr("Watchpoint at Expression");
case BreakpointOnQmlSignalHandler:
return BreakHandler::tr("Breakpoint on QML Signal Handler");
+ case BreakpointAtJavaScriptThrow:
+ return BreakHandler::tr("Breakpoint at JavaScript throw");
case UnknownType:
break;
}