From e3cc2104af4c240c51dff7949e34c3f09e288815 Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Mon, 30 Aug 2010 16:14:41 +0200
Subject: [PATCH] debugger: add a few comments describing caches used in
 dumper.py

---
 share/qtcreator/gdbmacros/dumper.py | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/share/qtcreator/gdbmacros/dumper.py b/share/qtcreator/gdbmacros/dumper.py
index 1e805ef825f..a59becb476f 100644
--- a/share/qtcreator/gdbmacros/dumper.py
+++ b/share/qtcreator/gdbmacros/dumper.py
@@ -863,11 +863,18 @@ class Item:
 #
 #######################################################################
 
-# This is a mapping from 'type name' to 'display alternatives'.
-
+# This is a cache mapping from 'type name' to 'display alternatives'.
 qqFormats = {}
+
+# This is a cache of all known dumpers.
 qqDumpers = {}
+
+# This is a cache of the namespace of the currently used Qt version.
+# FIXME: This is not available on 'bbsetup' time, only at 'bb' time.
 qqNs = ""
+
+# This is a cache of typenames->bool saying whether we are QObject
+# derived.
 qqQObjectCache = {}
 
 
-- 
GitLab