Symphony-DAS / symphony-matlab

Symphony Data Acquisition System
http://symphony-das.github.io
MIT License
19 stars 5 forks source link

No exception traceback info for exceptions that occur in onCompletedEpoch #4

Closed cafarm closed 8 years ago

cafarm commented 8 years ago

Symphony shows a really unhelpful traceback when an exception occurs in Controller.onCompletedEpoch (usually when an exception occurs in a FigureHandler or Protocol.completeEpoch).

Per Sam Cooler:

I'm doing work that involves a lot of debugging. But my errors keep coming up with file/line reference to the Controller.m, with traceback info lost:

Warning: DEBUG: Struct contents reference from a non-struct array object. Error using symphonyui.core.Controller/process (line 284) Struct contents reference from a non-struct array object.

Error in symphonyui.core.Controller/run (line 249) obj.process();

cafarm commented 8 years ago

Fixed with 71c9b2c