I'm using PyDev 1.6.1 and the Remote Debugger in a mixed Java/Jython environment. My application runs in a web application container under Tomcat within Eclipse. The Java code passes control to a Jython main script, which calls other Jython scripts and calls back into Java code, which may invoke Jython scripts. It's strictly a back-and-forth thing, with Java on top.
I can set and take breakpoints in the Java code before passing control to Jython, and I can set and take breakpoints in the Jython code using the Remote Debugger and pydevd.settrace().
However, once I'm in the Jython code and have taken a breakpoint there, if it calls a Java class/method, breakpoints in the called Java method are ignored (I can set them in Eclipse, but they're not taken).
Is it possible to do this (i.e., set and take breakpoints in Java when called from Jython)? If so, how is it done?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My bad. Upon further testing, I was able to confirm that breakpoints in Java code called by Jython are being taken. My original observation to the contrary was incorrect.
I withdraw the question. ;-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using PyDev 1.6.1 and the Remote Debugger in a mixed Java/Jython environment. My application runs in a web application container under Tomcat within Eclipse. The Java code passes control to a Jython main script, which calls other Jython scripts and calls back into Java code, which may invoke Jython scripts. It's strictly a back-and-forth thing, with Java on top.
I can set and take breakpoints in the Java code before passing control to Jython, and I can set and take breakpoints in the Jython code using the Remote Debugger and pydevd.settrace().
However, once I'm in the Jython code and have taken a breakpoint there, if it calls a Java class/method, breakpoints in the called Java method are ignored (I can set them in Eclipse, but they're not taken).
Is it possible to do this (i.e., set and take breakpoints in Java when called from Jython)? If so, how is it done?
My bad. Upon further testing, I was able to confirm that breakpoints in Java code called by Jython are being taken. My original observation to the contrary was incorrect.
I withdraw the question. ;-)