#warn("HANDLING WATCH %s, INAME: '%s'" % (exp, iname))
if exp.startswith("[") and exp.endswith("]"):
#warn("EVAL: EXP: %s" % exp)
- with SubItem(d):
- self.put('iname="%s",', iname)
- self.put('name="%s",', escapedExp)
- self.put('exp="%s",', escapedExp)
+ with SubItem(self):
+ self.put('iname="%s",' % iname)
+ self.put('name="%s",' % escapedExp)
+ self.put('exp="%s",' % escapedExp)
try:
list = eval(exp)
self.putValue("")
s[i].a = i; // Break here. Expand s and s[0]. Step.
// Watcher Context: "Add New Watcher".
// Type ['s[%d].a' % i for i in range(5)]
- // Expand it, continue stepping.
+ // Expand it, continue stepping. This should result in a list
+ // of five items containing the .a fields of s[0]..s[4].
}
Q_UNUSED(s);
}