+ def setStepout(self):
+ bt = self.getBacktrace()
+
+ if len(bt) < 2:
+ self.setContinue()
+
+ else:
+ #Get the second line
+ sec = bt[1]
+
+ #Check if it is a backtrace line
+ if re.compile("^#1\s+.*\s\S+:\d+$").search(sec):
+ pos = string.split(sec)[-1]
+ self.feed_child("advance %s\n" % pos)
+
+