aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAurindam Jana <aurindam.jana@nokia.com>2012-01-17 14:38:06 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-24 14:11:52 +0100
commitb77ecde410ace1545ac6fdad7466e64e4fc635da (patch)
tree791e9501a6f40a97879afa3a70e4b54bffb2663b /doc
parentb514fecbeae6a4fed9e593ea6405dbeec7fe7883 (diff)
Console API: Add console.exception
console.exception writes a message to the console and prints the JavaScript stack trace at the point where it is called. Change-Id: Idd2ff5982826accae0895db44c7ecf6130338cc7 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/qdeclarativedebugging.qdoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/declarative/qdeclarativedebugging.qdoc b/doc/src/declarative/qdeclarativedebugging.qdoc
index 49fe224a8c..ab64b9122a 100644
--- a/doc/src/declarative/qdeclarativedebugging.qdoc
+++ b/doc/src/declarative/qdeclarativedebugging.qdoc
@@ -117,6 +117,11 @@ function f() {
}
\endqml
+\section2 Exception
+
+\c console.exception prints an error message together with the stack trace of JavaScript
+execution at the point where it is called.
+
\section1 Debugging Transitions
When a transition doesn't look quite right, it can be helpful to view it in slow