unified flow for breakpoints, exceptions, syntax errors. save and restore layout.