Re: [Pydev-code] Debugging Java called from python
Brought to you by:
fabioz
From: Fabio Z. <fa...@gm...> - 2008-09-11 23:19:38
|
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 > |