Strange waiting loop removed from the debugger