This may be a dumb question, and it may be more of a programming language issue than an IDEA issue, but here goes:
I have a Java servlet that executes some Jython code, and I want to be able to set breakpoints both in the calling Java code and in my Python code. IDEA is happy to stop at my Java language breakpoints, but it does not stop at the breakpoints in my Jython code.
My question is: Is there any hope of making this work? Or must I resign myself to the idea that I'll just need to write and debug my Python code in isolation, plugging it into my servlet when all my unit tests pass.
My understanding is that when I instantiate a Jython interpreter, load my file and execute it, that the Python code gets JIT'ed into JVM bytecode. I'm guessing that the debugger would need some extra information to be able to associate this bytecode with my dynamically-loaded Python source code.
My thanks in advance to anyone who has information or an opinion.