[Sidefx-houdini-list] Debugging HDK SOPs

Mark Elendt mark at sidefx.com
Fri Feb 12 11:55:33 EST 2010


On Friday Feb 12 at 08:48, David Johnson wrote:
> I have a SOP that I've built that mostly runs, but occasionally references a
> polygon that I've deleted, which of course crashes everything.
> 
> My problem is that I don't know enough about software development and I
> don't know what tools I should use to debug my code. I've heard that there
> are debugging tools that I could use, but I don't know how to use them.
> 
> I tried running
> -->gdb houdini-bin
> but that only goes a little way and closes down houdini right away. What
> else should I use, or am I running gdb wrongly?
> 
> Anyone that can give me a clue here would be helpful.

When you're in gdb, run Houdini with the -foreground argument:

(gdb) run -foreground foo.hip

That might get you a little further.

-- 
Mark Elendt



More information about the Sidefx-houdini-list mailing list