summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-07-05 16:52:32 +0200
committerhjk <hjk@theqtcompany.com>2016-07-05 14:58:52 +0000
commit69c8b9271c14e0866b3a39ee5dd5cc7f58edd631 (patch)
tree336ea6a2478645fbffa56fea0b5bdc7fc65b6d53
parentce4ddcb060f173ca78b86e349165ea0aa32ac0b4 (diff)
downloadqt-creator-69c8b9271c14e0866b3a39ee5dd5cc7f58edd631.tar.gz
fix qt namespace retrieval when an early break happened
the logic to retrigger the namespace retrieval was broken, so if it was triggered for some reason before qt was "sufficiently available", the bad/failed guess would persist. Change-Id: I90e02247142814bdc3f6d5cddfc0c2fe37665a3e Done-with: hjk Reviewed-by: hjk <hjk@theqtcompany.com>
-rw-r--r--share/qtcreator/debugger/gdbbridge.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/qtcreator/debugger/gdbbridge.py b/share/qtcreator/debugger/gdbbridge.py
index f228b76351..f835249442 100644
--- a/share/qtcreator/debugger/gdbbridge.py
+++ b/share/qtcreator/debugger/gdbbridge.py
@@ -256,11 +256,6 @@ class Dumper(DumperBase):
self.qtNamespaceToReport = None
self.interpreterBreakpointResolvers = []
- # The guess does not need to be updated during a fetchVariables()
- # as the result is fixed during that time (ignoring "active"
- # dumpers causing loading of shared objects etc).
- self.currentQtNamespaceGuess = None
-
def prepare(self, args):
self.output = []
self.currentIName = ""
@@ -294,6 +289,11 @@ class Dumper(DumperBase):
#warn("EXPANDED INAMES: %s" % self.expandedINames)
#warn("WATCHERS: %s" % self.watchers)
+ # The guess does not need to be updated during a fetchVariables()
+ # as the result is fixed during that time (ignoring "active"
+ # dumpers causing loading of shared objects etc).
+ self.currentQtNamespaceGuess = None
+
def listOfLocals(self):
frame = gdb.selected_frame()