Debugging Houdini plugin on Windows platform

   3346   2   1
User Avatar
Member
301 posts
Joined: July 2005
Offline
Hi,

I am planning to port some plugins to Houdini and wanted to find out how developer debug their plugins.

In XSI/Maya, on Windows, I compile a debugged version which produces an associated PDB file. I than launch the application and attach to it using Visual Studio 2003.

In Houdini, how do I specify that I wish to compile the plugin in debug mode and importantly, generate the PDB file so that I can trace the code and should an exception be thrown, I get a proper stack trace.

Cheers
Nicholas Yue
User Avatar
Member
12429 posts
Joined: July 2005
Offline
Hey Nicholas!

Good to see you around again!

I can't really help you very much myself but have you investigated the -g option of hcustom which includes debugging information?

Just wanted to say hi,
Jason
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
User Avatar
Member
301 posts
Joined: July 2005
Offline
jason_iversen
I can't really help you very much myself but have you investigated the -g option of hcustom which includes debugging information?

Beauty mate! Hello from down under.

hcustom -g produces and copy the PDB file to the right location allowing me to attach to houdini.exe process and set breakpoint and view stack trace.

Cheers
Nicholas Yue
  • Quick Links