Timothy Moore (moore++at++WOLFENET.com)
Fri, 18 Jul 1997 19:07:24 -0700 (PDT)
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
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:38 PDT