Author: Lars Wassermann <[email protected]>
Branch:
Changeset: r428:a36b18faa5c5
Date: 2013-05-30 16:32 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/a36b18faa5c5/
Log: moved the print statement, because when halting live, that statement
is always the first typed
diff --git a/spyvm/plugins/vmdebugging.py b/spyvm/plugins/vmdebugging.py
--- a/spyvm/plugins/vmdebugging.py
+++ b/spyvm/plugins/vmdebugging.py
@@ -23,10 +23,10 @@
from rpython.rlib.objectmodel import we_are_translated
from spyvm.error import Exit
+ print s_frame.print_stack()
if not we_are_translated():
import pdb; pdb.set_trace()
else:
- print s_frame.print_stack()
print s_frame
raise Exit('Halt is not well defined when translated.')
return w_rcvr
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit