breakpoints for multithreaded use of jython class
Spence Aiello <[email protected]> Thu, 21 Jul 2016 11:51:47 -0700
| Newsgroups | gmane.comp.lang.jython.user |
|---|---|
| Message-ID | <CAL2dDUtqpg4=_SSfVZWFMbcmV3v0PPYj6O9yeWgvEj0siEpo_g@mail.gmail.com> |
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.
Thanks!
Spencer
------------------------------------------------------------------------------
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
reports.http://sdm.link/zohodev2dev
_______________________________________________
Jython-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-users