From ea39476ef2c0017f54021693ba545117ad53afa6 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 8 Oct 2015 16:05:29 +0200 Subject: [PATCH] Debugger: Do not try to treat labels as variables They produce no values later anyway and are slow to process. With this patch, stepping in VME::run from qv4vme_moth.cpp takes about 1s instead of more than 40s previously. Change-Id: I5c96966612bdb7c0120d9ebb545d6e8483cbf843 Reviewed-by: Christian Stenger --- share/qtcreator/debugger/gdbbridge.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/qtcreator/debugger/gdbbridge.py b/share/qtcreator/debugger/gdbbridge.py index 47a1656fc20..2ada3ae02a8 100644 --- a/share/qtcreator/debugger/gdbbridge.py +++ b/share/qtcreator/debugger/gdbbridge.py @@ -290,6 +290,9 @@ class Dumper(DumperBase): warn("UNEXPECTED 'None' BLOCK") break for symbol in block: + + # Filter out labels etc. + if symbol.is_variable or symbol.is_argument: name = symbol.print_name if name == "__in_chrg" or name == "__PRETTY_FUNCTION__":