Jump to content

Debugging in Houdini from PyDev Eclipse


Jiceq

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?

Link to comment
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.

Link to comment
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? 

Link to comment
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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...