fixed continue so that it will run to the next breakpoint or to the end of the outermost function and halt