Fix exception when trying to break execution and no program was running.