Hi Thomas, > Therefore we would like to robustify this: when pressing our 'start > debug trace of Studio' > we would like our plugin also to activate pydev server if it has not > already been done, > and generally help or at least inform/warn when things are are about to > go wrong. > Are there any api calls for starting the pydev debug server, or probing > its state?
Ok, I've created a public API for that in the "com.python.pydev.debug" plugin. You can get it at the next nightly build (svn: 2851) -- it'll be available in a final release for 1.4.8. The API is: com.python.pydev.debug.remote.client_api.PydevRemoteDebuggerServer.startServer() com.python.pydev.debug.remote.client_api.PydevRemoteDebuggerServer.stopServer() com.python.pydev.debug.remote.client_api.PydevRemoteDebuggerServer.isRunning() (those are static methods) Cheers, Fabio ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ pydev-code mailing list pydev-code@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-code