summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolsplugin.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-08-08 14:53:10 +0200
committerKai Koehne <kai.koehne@nokia.com>2011-08-08 16:31:44 +0200
commitc42e96618454a7315680a96718bf8d20a7f67e68 (patch)
tree9f0c53481903c356005945debb3c4a0177197bf5 /src/plugins/cpptools/cpptoolsplugin.cpp
parente0ba50066d79a3d5dfeb829cb7e0dbc78baaeff0 (diff)
downloadqt-creator-c42e96618454a7315680a96718bf8d20a7f67e68.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: I4cb374782c93a26d97d4a717ce67d1fb2f6df438 Task-number: QTCREATORBUG-5090 Reviewed-on: http://codereview.qt.nokia.com/2746 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.cpp')
0 files changed, 0 insertions, 0 deletions