From: Frank C. <fc...@pu...> - 2001-09-29 06:12:39
|
I'm writing a little utility that will run a Jython script and when it catches an error it will open an editor and jump to the line number that contains the offending script. I'm starting with a Java application and am correctly catching a forced example exception. Jython gives the exception a PyException object. From PyException how may I get a PyTraceback object, so I may get the line number from tb_lineno? -Frank -- Frank Cohen, founder, PushToTest, www.pushtotest.com, phone: 408 374 7426 Come to PushToTest for Load, a free open-source tool for performance and scalability testing and data migration. |