Jump to content
Jiceq

Debugging in Houdini from PyDev Eclipse

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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? 

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×