If the child process ("tracee") exists, the REPL continues and signals an error every time one tries to step through the program (because the child process cannot step anywhere).
Instead of this behavior, the REPL should (for example) exit once the child exists, or drop into some state from which the child process can be restarted.