diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2011-08-09 11:46:23 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2011-08-10 14:34:23 +0200 |
commit | 3322d45ca0c368d3c820878122b2041828e5778c (patch) | |
tree | c321e682ec5ffdf33c7d6da481cecda7239cbfbd /doc/src/snippets/code/src_sql_kernel_qsqldriver.cpp | |
parent | ed54c64af0d61d6bfea2ec87428ba5d008a30564 (diff) | |
download | qt4-tools-3322d45ca0c368d3c820878122b2041828e5778c.tar.gz |
JSDebugger: Only hit breakpoints in user code
Check that the topmost stack entry is a user defined ScriptFunction.
This avoids hitting the anonymous functions used for bindings, e.g.
onClicked: Qt.quit()
leads to script code
(function onClicked() { Qt.quit(); })
which will be hit twice for the debugger: Once for the function call
itself, then for the execution of Qt.quit().
Change-Id: Id431cacaef84172dc3474018cdf61f3dcc05cf93
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqldriver.cpp')
0 files changed, 0 insertions, 0 deletions