Author: Lars Wassermann <lars.wasserm...@gmail.com> Branch: Changeset: r293:a9cbe7ad9fdc Date: 2013-04-17 17:12 +0200 http://bitbucket.org/pypy/lang-smalltalk/changeset/a9cbe7ad9fdc/
Log: updated the doesNotUnderstand tracing code to give more information and halt in case interpretation diff --git a/spyvm/interpreter.py b/spyvm/interpreter.py --- a/spyvm/interpreter.py +++ b/spyvm/interpreter.py @@ -393,7 +393,9 @@ # ###################################################################### 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) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit