forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user