aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <[email protected]>2015-10-08 16:05:29 +0200
committerhjk <[email protected]>2015-10-08 14:20:59 +0000
commitea39476ef2c0017f54021693ba545117ad53afa6 (patch)
treebdaedca45e7ce487a9a5672facbf2735adc7b539
parenta004cfbdd009b30d91df1dea1dd1b87a92f36035 (diff)
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 <[email protected]>
-rw-r--r--share/qtcreator/debugger/gdbbridge.py3
1 files changed, 3 insertions, 0 deletions
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__":