Re: [Pydev-code] Debugging Java called from python
Brought to you by:
fabioz
From: Gregory G. <gr...@al...> - 2008-09-12 11:15:41
|
This may be off-topic for this list, but transparent stepping-through between languages was something I thought could be done nicely with JPDA. I started a project for doing that because I thought stepping between Java and SQL stored procedures could be useful, but as this was largely to fulfill a school requirement, it got to just that point and no further. So if anyone wants to continue it, I would love it - see http://db-db.sourceforge.net. On Thu, Sep 11, 2008 at 4:19 PM, Fabio Zadrozny <fa...@gm...> wrote: > You should be able to start your application from the java debugger and use > the Pydev Extensions remote debugger. See > http://fabioz.com/pydev/manual_adv_remote_debugger.html for details on > using it. > > Cheers, > > Fabio > > > On Thu, Sep 11, 2008 at 3:56 PM, Andrew Mickish <mi...@nd...> wrote: > >> I want to stop at breakpoints in the Java code called by my python >> script (via Jython). >> >> However, PyDev's Eclipse debugging interface is handled exclusively by >> the pydevd.py wrapper, and there is no debugger connection to the >> underlying JVM. >> >> I thought to add a launcher argument like >> -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:2959, but >> this just results in an error: >> >> ERROR: transport error 202: connect failed: Connection refused >> ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) >> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports >> initialized [../../../src/share/back/debugInit.c:690] >> FATAL ERROR in native method: JDWP No transports initialized, >> jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) >> >> Any ideas about how I can simultaneously debug the script and the Java >> code it calls? >> >> Thanks! >> >> --Andrew Mickish >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> pydev-code mailing list >> pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-code >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > > |