Like this but in correct environment ```R hopefully <- function(f) { function(...) { tryCatch( f(...), error = function(e) browser() ) } } ```