Commits

Lars Wassermann committed a9cbe7a

updated the doesNotUnderstand tracing code to give more information and halt in case interpretation

  • Participants
  • Parent commits 0cff3f7

Comments (0)

Files changed (1)

File spyvm/interpreter.py

         # ######################################################################
         if interp.trace:
             padding = '#' * (interp.max_stack_depth - interp.remaining_stack_depth)
-            print padding + s_frame.short_str(1)
+            print '%s%s missing: #%s' % (padding, s_frame.short_str(0), w_selector.as_string())
+            if not objectmodel.we_are_translated():
+                import pdb; pdb.set_trace()
 
         return interp.stack_frame(s_frame)