Debugger/VariablesViewer.py

changeset 2617
5719edfddb4c
parent 2511
a0ff5574e43a
child 2677
3d4277929fb3
child 2953
703452a2876f
equal deleted inserted replaced
2616:954b4069325b 2617:5719edfddb4c
49 if len(lines) > 1: 49 if len(lines) > 1:
50 # only show the first non-empty line; 50 # only show the first non-empty line;
51 # indicate skipped lines by <...> at the 51 # indicate skipped lines by <...> at the
52 # beginning and/or end 52 # beginning and/or end
53 index = 0 53 index = 0
54 while index < len(lines) and lines[index] == "": 54 while index < len(lines) - 1 and lines[index] == "":
55 index += 1 55 index += 1
56 dvalue = "" 56 dvalue = ""
57 if index > 0: 57 if index > 0:
58 dvalue += "<...>" 58 dvalue += "<...>"
59 dvalue += lines[index] 59 dvalue += lines[index]

eric ide

mercurial