bplines = self.__getAnswerFromCmd("info breakpoints\n")
rxbp = re.compile("^\d+\s+breakpoint")
- rxpos = re.compile("^.*at \S+:\d+$")
+ rxpos = re.compile("^.*at\s+\S+:\d+$")
rxcond = re.compile("^\s+stop only if")
bpnts = []
no = string.split(line)[0]
#This line does not contain the file!
+ #Check for next line...
if not rxpos.search(line):
+ i += 1
+ line = bplines[i]
+ if not rxpos.search(line):
+ i += 1
continue
pos = string.split(line)[-1]
[file,lineno] = string.split(pos,":")
cond = None
+ #Look for conditions
if i+1<len(bplines) and rxcond.search(bplines[i+1]):
i +=1
line = bplines[i]