Christoph Pospiech <christoph.pospi...@de.ibm.com> wrote on 09/06/2010 03:38:05 PM:
> Hi, > > my program currently throws an "Uncaught exception at place 0". How do I find > out which statement causes this exception ? > > The traceback mentions a "matmul__closure__12". That could be a hint to the > statement. But how could I relate this back to the line number of the X10 > source ? Hi, Christoph, We are working on transforming the exception tracebacks to show X10 source information. In the meantime, you would have to look at the generated C++ sources for matmul__closure__12 (probably in the file matmul.inc, possibly in matmul.h if matmul is a generic class) and look at the "//#line" comment that precedes the body of the closure. That will get you the original X10 line number. Igor -- Igor Peshansky (note the spelling change!) IBM T.J. Watson Research Center X10: Parallel Productivity and Performance (http://x10-lang.org/) XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/) "I hear and I forget. I see and I remember. I do and I understand" -- Confucius ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users