Jython debug scripts

I am writing Jython scripts in files and then calling them using Java, is there a way to debug these scripts?

+3


source to share


3 answers


Yes, you should do this using the remote debugger (if you are using PyDev, take a look: http://pydev.org/manual_adv_remote_debugger.html ).



If you went the other way around (and ran your program with the entry point as a Jython program called java code), you should use the java remote debugger (the trick is that a language you did not run directly should be debugged).

+3


source


You can use Eclipse and pydev ( http://pydev.org/ ) and use the debugger in pydev



+2


source


You can go into stdout and / or stderr and then collect what's on the java side and register it again.

0


source







All Articles