[pypy-commit] pypy reverse-debugger: Print something here
arigo
pypy.commits at gmail.com
Fri Aug 12 16:54:11 EDT 2016
Author: Armin Rigo <arigo at 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 = '?'
More information about the pypy-commit
mailing list