Re: bad child + Faq

New Message Reply Date view Thread view Subject view Author view

Timothy Moore (moore++at++WOLFENET.com)
Fri, 18 Jul 1997 19:07:24 -0700 (PDT)


   Date: Fri, 18 Jul 1997 10:15:05 -0700
   From: verdi++at++piano.ucsd.edu (Tom Impelluso)

   Hi, I am running my code, and I get this warning:

   PF Warning/Usage: pfAddChild: Bad child 0x0

   1) How can I determine which child is bad?

What I usually end up doing is putting a conditional breakpoint in
pfAddChild and then getting a stack trace to figure out where my code
is broken. "No Performer source" you say? Not a problem :) In dbx
do:
stop in pfAddChild if $arg1 == 0

This stops if the second argument register contains 0 on entry to
pfAddChild.

If your code is C++ you can use
stop in pfGroup::addChild if $arg1 == 0

to get the same effect.

   2) Could someone tell me where I could have found this in
           the faq and how to extract it
           (I suspect this question must have been asked before)

I don't think it's in the faq. It's one of those problems where a little
assembler knowledge has to substitute for source code.

Tim

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:38 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.