The Debugger automatically exits when the program being debugged terminates. To exit the Debugger select Abort last task from the Debug Menu.