Console API: Add console.exception
authorAurindam Jana <aurindam.jana@nokia.com>
Tue, 17 Jan 2012 13:38:06 +0000 (14:38 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 24 Jan 2012 13:11:52 +0000 (14:11 +0100)
commitb77ecde410ace1545ac6fdad7466e64e4fc635da
tree791e9501a6f40a97879afa3a70e4b54bffb2663b
parentb514fecbeae6a4fed9e593ea6405dbeec7fe7883
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>
doc/src/declarative/qdeclarativedebugging.qdoc
src/declarative/qml/v8/qdeclarativebuiltinfunctions.cpp
src/declarative/qml/v8/qdeclarativebuiltinfunctions_p.h
src/declarative/qml/v8/qv8engine.cpp
tests/auto/declarative/qdeclarativeconsole/data/exception.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativeconsole/tst_qdeclarativeconsole.cpp