[Pydev-code] Debugging Java called from python
Brought to you by:
fabioz
From: Andrew M. <mi...@nd...> - 2008-09-11 18:56:40
|
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 |