return
- ifsplit = string.split(bpspec, "if")
+ ifsplit = string.split(bpspec, " if ")
if len(ifsplit)>1:
cond = ifsplit[1].strip()
print "Wrong breakpoint format:", tail
return
- preif = string.split(tail, "if")[0].strip()
- postif = string.join( string.split(tail, "if")[1:], "if").strip()
+ preif = string.split(tail, " if ")[0].strip()
+ postif = string.join( string.split(tail, " if ")[1:], " if ").strip()
[file,lineno] = string.split(preif, ":")
lineno = int(lineno)
#This line does not contain the file!
if not rxpos.search(line):
- i += 1
- line = bplines[i]
+ continue
pos = string.split(line)[-1]
[file,lineno] = string.split(pos,":")
if i+1<len(bplines) and rxcond.search(bplines[i+1]):
i +=1
line = bplines[i]
- pre,cond = string.split(line,"if")
+ cond = string.join(string.split(line," if ")[1:], " if ")
cond = cond.strip()
bpnts += [[no, file, lineno, cond]]
Smaller requests
- vim: do not add breakpoints when pressing F5, just replace them all
- - error parsing conditional breakpoint from Entry
- error when readreading the condition of breakpoints! (stop only if...)
(gdb) info breakpoints