Home | History | Annotate | Download | only in Lib

Lines Matching full:lineno

151         lineno = frame.f_lineno
152 if lineno not in self.breaks[filename]:
155 lineno = frame.f_code.co_firstlineno
156 if lineno not in self.breaks[filename]:
160 (bp, flag) = effective(filename, lineno, frame)
207 def set_until(self, frame, lineno=None):
211 if lineno is None:
212 lineno = frame.f_lineno + 1
213 self._set_stopinfo(frame, frame, lineno)
273 # Set_break prints out the breakpoint line and file:lineno.
277 def set_break(self, filename, lineno, temporary=False, cond=None,
281 line = linecache.getline(filename, lineno)
283 return 'Line %s:%d does not exist' % (filename, lineno)
285 if lineno not in list:
286 list.append(lineno)
287 bp = Breakpoint(filename, lineno, temporary, cond, funcname)
289 def _prune_breaks(self, filename, lineno):
290 if (filename, lineno) not in Breakpoint.bplist:
291 self.breaks[filename].remove(lineno)
295 def clear_break(self, filename, lineno):
299 if lineno not in self.breaks[filename]:
300 return 'There is no breakpoint at %s:%d' % (filename, lineno)
303 for bp in Breakpoint.bplist[filename, lineno][:]:
305 self._prune_breaks(filename, lineno)
348 def get_break(self, filename, lineno):
351 lineno in self.breaks[filename]
353 def get_breaks(self, filename, lineno):
356 lineno in self.breaks[filename] and \
357 Breakpoint.bplist[filename, lineno] or []
392 frame, lineno = frame_lineno
394 s = '%s(%r)' % (filename, lineno)
411 line = linecache.getline(filename, lineno, frame.f_globals)
496 bplist = {} # indexed by (file, lineno) tuple