breakpoint

A marked place in a program where execution pauses so you can inspect it in a debugger.

In more detail

You set breakpoints in an editor by clicking beside a line, or in code with a call such as breakpoint() in Python. When execution reaches one, the debugger takes over; continuing runs on to the next breakpoint.

Example

def total(xs):
    breakpoint()
    return sum(xs)

Related terms

Taught in

References