Author: Armin Rigo <ar...@tunes.org>
Branch: reverse-debugger
Changeset: r86181:c431addcce4e
Date: 2016-08-12 22:53 +0200
http://bitbucket.org/pypy/pypy/changeset/c431addcce4e/

Log:    Print something here

diff --git a/rpython/translator/revdb/interact.py 
b/rpython/translator/revdb/interact.py
--- a/rpython/translator/revdb/interact.py
+++ b/rpython/translator/revdb/interact.py
@@ -46,7 +46,11 @@
                     self.run_command(cmdline)
                     prompt = self.print_lines_before_prompt()
             except KeyboardInterrupt:
-                self.pgroup.recreate_subprocess(self.previous_time or 1)
+                rtime = self.previous_time or 1
+                print
+                print 'KeyboardInterrupt: restoring state at time %d...' % (
+                    rtime,)
+                self.pgroup.recreate_subprocess(rtime)
                 self.last_command = ''
                 self.previous_thread = '?'
                 self.previous_time = '?'
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to