Don't creash when we can't deduce the file name for session-saving because its probably just becasue there is no program being debuged.
Merge branch 'hook_prompt'