Re: [Pydev-code] API call for the pydev debug server? Robustness
Brought to you by:
fabioz
From: Fabio Z. <fa...@ap...> - 2009-07-16 15:00:14
|
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 |