I haven't used 2013 much yet- still developing on 2012. But I've run across
quite a few situations (I think all when writing plug-ins in Python) in
which the script editor suppressed tracebacks. I wrote a function decorator
that I wrap around top-level functions during development to make sure they
get printed, and I've found it pretty useful. Don't know if it will solve
your problem but it might be worth a shot:
import traceback
def withMayaTraceback(f):
def new_f(*args, **kw):
try:
return f(*args, **kw)
except Exception as e:
traceback.print_exc()
return new_f
Best
T
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
http://groups.google.com/group/python_inside_maya/subscribe