Jiceq Posted February 1, 2018 Share Posted February 1, 2018 Hi,just a quick question, is it possible to debug code in PyDev Eclipse when code is running in Houdini? Im used to doing that in Maya opening a command port and it s really helpful. I would like to debug from Eclipse, how do you do it guys? Quote Link to comment Share on other sites More sharing options...
Stalkerx777 Posted February 3, 2018 Share Posted February 3, 2018 Debugging and communicating with an application via a port is completely different things. You can do a socket to socket communication in Houdini via openport command or use Houdini's hrpyc Python server. For debugging, since you're running PyDev you should be able to use PyDev remote python debugger. I've had a few attempts to make it work but no luck. Quote Link to comment Share on other sites More sharing options...
Jiceq Posted February 5, 2018 Author Share Posted February 5, 2018 In maya you can remotely debug code with eclipse starting a debug server by opening a port in maya and have it listening. By pyDev "remote python debugger" you mean attaching the houdini process to the debugger? Quote Link to comment Share on other sites More sharing options...
Stalkerx777 Posted February 7, 2018 Share Posted February 7, 2018 On 2/5/2018 at 4:19 AM, Jiceq said: By pyDev "remote python debugger" you mean attaching the houdini process to the debugger? 1 Vice versa. You attach the debugger to a running process. But as I said before, Houdini is not a process you want Python debugger attach to. Python interpreter is running inside Houdini process so the only option you have for real debugging is using a remote debugger. Maybe someone here could share if they have such experience, I haven't been able to set it up in Houdini. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.