Lines Matching refs:line
73 line: A new line of code is going to be executed.
89 if event == 'line':
107 """Invoke user function and return trace function for line event.
109 If the debugger stops on the current line, invoke
218 """Return True if there is an effective breakpoint for this line.
220 Check for line or function breakpoint and if in effect.
228 # The line itself has no breakpoint, but maybe the line is the
229 # first line of a function with breakpoint set by function name.
264 """Called when we stop or break at a line."""
278 If stoplineno is greater than or equal to 0, then stop at line
285 # stoplineno >= 0 means: stop at line >= the stoplineno
293 """Stop when the line with the lineno greater than the current one is
301 """Stop after one line of code."""
313 """Stop on the next line in or below the given frame."""
366 # Set_break prints out the breakpoint line and file:lineno.
385 line = linecache.getline(filename, lineno)
386 if not line:
426 # If there's only one bp in the list for that file,line
443 self._prune_breaks(bp.file, bp.line)
454 for line in self.breaks[filename]:
455 blist = Breakpoint.bplist[filename, line]
557 line of code (if it exists).
574 line = linecache.getline(filename, lineno, frame.f_globals)
575 if line:
576 s += lprefix + line.strip()
664 the (file, line) tuple using bplist. The former points to a
667 breakpoint per line.
671 counted when the first line of that function is executed. A
684 def __init__(self, file, line, temporary=False, cond=None, funcname=None):
689 self.line = line
699 if (file, line) in self.bplist:
700 self.bplist[file, line].append(self)
702 self.bplist[file, line] = [self]
711 """Delete the breakpoint from the list associated to a file:line.
714 the entry for the file:line.
717 index = (self.file, self.line)
746 status, file:line position, break condition, number of times to
759 self.file, self.line)
774 return 'breakpoint %s at %s:%s' % (self.number, self.file, self.line)
783 was set. If it was set via line number, check if b.line is the same as
785 the right function and if it is on the first executable line.
788 # Breakpoint was set via line number.
789 if b.line != frame.f_lineno:
790 # Breakpoint was set at a line with a def statement and the function
806 # But we are not at the first line number: don't break.
811 def effective(file, line, frame):
815 The "active breakpoint" is the first entry in bplist[line, file] (which
824 possibles = Breakpoint.bplist[file, line]
874 line = linecache.getline(fn, frame.f_lineno, frame.f_globals)
875 print('+++', fn, frame.f_lineno, name, ':', line.strip())