[Sidefx-houdini-list] Debugging HDK SOPs

Sebastian H. Schmidt sebastian.h.schmidt at googlemail.com
Fri Feb 12 14:58:08 EST 2010


either do the source houdini_setup befor gdb houdini
or
you can attach to the process after loading of houdini, using the -p option
and the PID of houdini.





On Fri, Feb 12, 2010 at 7:29 PM, Peter Bowmar <pbowmar at gmail.com> wrote:

> Hi Dave,
>
> Yup that's it. I think if you set up the shell with the env like the
> wrapper does it, then run houdini-bin in GDB you're good to go, but I
> forget exactly.
>
> I think this was documented in the HDK docs at some point in the past,
> but I'm not sure where.
>
> Cheers,
>
> Peter B
>
> On 12 February 2010 11:27, David Johnson <daveinengland at gmail.com> wrote:
> > Is this because when I run gdb, it doesn't run the wrapper script or
> > something? Do I need to set an environment variable or something so
> Houdini
> > can find the libpython2.5.so.1.0?
> >
> > Dave
> >
> > On Fri, Feb 12, 2010 at 9:28 AM, David Johnson <daveinengland at gmail.com
> >wrote:
> >
> >> When I run Houdini normally, everything loads and runs fine, but when I
> use
> >> gdb (or ddd) I get this message:
> >> /opt/hfs10.0.465/bin/hscript-bin: error while loading shared libraries:
> >> libpython2.5.so.1.0: cannot open shared object file: No such file or
> >> directory
> >> and houdini exits with code 0177.
> >>
> >> What should I do?
> >>
> >> Dave
> >>
> >>
> >> On Fri, Feb 12, 2010 at 9:09 AM, David Johnson <daveinengland at gmail.com
> >wrote:
> >>
> >>> Thanks guys. This is VERY helpful. You're the best, as always.
> >>>
> >>> Dave
> >>>
> >>>
> >>> On Fri, Feb 12, 2010 at 8:56 AM, Edward Lam <edward at sidefx.com> wrote:
> >>>
> >>>> David Johnson wrote:
> >>>> > 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.
> >>>>
> >>>> This should help:
> >>>>     http://www.sidefx.com/docs/hdk10.0/hdk_intro_debugging.html
> >>>>
> >>>> Cheers,
> >>>> -Edward
> >>>> _______________________________________________
> >>>> Sidefx-houdini-list mailing list
> >>>> Sidefx-houdini-list at sidefx.com
> >>>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> >>>>
> >>>
> >>>
> >>
> > _______________________________________________
> > Sidefx-houdini-list mailing list
> > Sidefx-houdini-list at sidefx.com
> > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> >
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



More information about the Sidefx-houdini-list mailing list