def cont(w, size, key):
    if self.debugger.post_mortem:
        self.message("Post-mortem mode: Can't modify state.")
    else:
        self.debugger.set_continue()
        end()
def cont(w, size, key):
    if self.debugger.post_mortem:
        self.message("Post-mortem mode: Can't modify state.")
    else:
        self.debugger.set_continue()
        end()