From b77ecde410ace1545ac6fdad7466e64e4fc635da Mon Sep 17 00:00:00 2001 From: Aurindam Jana Date: Tue, 17 Jan 2012 14:38:06 +0100 Subject: 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 --- doc/src/declarative/qdeclarativedebugging.qdoc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3