backreturn
Backreturn is a term encountered in some discussions of programming language design and software debugging to describe a mechanism for re-entering a program at a previously saved execution point. It is not a standard or widely adopted feature in mainstream languages, and its exact definition varies across sources.
In general, backreturn refers to the idea of returning execution to an earlier point after a non-linear
- Control-flow construct: a backreturn primitive that captures a past point of execution and, when invoked later,
- Reversible debugging: a backreturn operation that moves the program state back to a saved snapshot so
- Fault tolerance and checkpointing: a mechanism to roll back to a known-good state after an error,
Backreturn overlaps with, but is distinct from, ordinary function returns, exceptions, standard continuations, and traditional checkpointing
Continuation, checkpointing, reversible debugging, backtracking.