[pypy-svn] r60237 - pypy/trunk/pypy/lang/gameboy/debug

cami at codespeak.net cami at codespeak.net
Sun Nov 30 18:24:28 CET 2008


Author: cami
Date: Sun Nov 30 18:24:27 2008
New Revision: 60237

Modified:
   pypy/trunk/pypy/lang/gameboy/debug/debug_rpc_xml_connection.py
Log:
added in between tests when skipping opcodes

Modified: pypy/trunk/pypy/lang/gameboy/debug/debug_rpc_xml_connection.py
==============================================================================
--- pypy/trunk/pypy/lang/gameboy/debug/debug_rpc_xml_connection.py	(original)
+++ pypy/trunk/pypy/lang/gameboy/debug/debug_rpc_xml_connection.py	Sun Nov 30 18:24:27 2008
@@ -177,7 +177,8 @@
         self.pending_steps = 0
                     
     def prompt_for_user_input(self):
-        if self.cpu.instruction_counter < self.skip_count:
+        if self.cpu.instruction_counter < self.skip_count and
+           self.cpu.instruction_counter % self.in_between_test != 0:
             return
         if self.showed_skip_message_count < 2:
             print ">>  enter skip, default is 0:"



More information about the Pypy-commit mailing list