breakpoints for multithreaded use of jython class

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

breakpoints for multithreaded use of jython class

Spence Aiello
Hi and thanks for reading:

I have a Jython class:

class MyClass(SomeInterface):
     def op(self):
          a = some_fun()
          return a

In a separate java class I have:

class Task extends MultiThreadedTask {
   SomeResult _a;
    @Override public void callPerThread() {
       SomeInterface si = (SomeInterface) JythonObjectFactory.get("MyClass")
       _a = si.op()

Here's my jython program that I'd like to single step with breakpoints inside of the "op" call for MyClass:

m = MyClass()
t = Task().do()

I'm debugging from within IntelliJ and I get breakpoints for all of the single-threaded code, but as soon as execution steps into the `callperThread` method, all of my breakpoints are seemingly ignored.


What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
Jython-users mailing list
[hidden email]