On Wednesday 18 September 2002 06:58, [EMAIL PROTECTED] wrote: > (gdb) s > 240 RETVAL = newRV_noinc((SV*)config); > (gdb) s > 0x811336c in Perl_newRV_noinc () at eval.c:88 > 88 eval.c: No such file or directory. > > <!-- maybe the above output says something that can lead me to the problem? > -->
This is irrelevant. It just means you don't have the file "eval.c" accessible, which belongs to perl itself. Since the error is not in perl, we don't need it. > (gdb) s > XS_Apache__AxKit__ConfigReader__get_config (cv=0x83036ec) at AxKit.c:290 > 290 ST(0) = RETVAL; > (gdb) c > Continuing. What is the error? What's in the error log at AxDebugLevel 9? What doesn't work? Supposing your assumptions are right: Did you check the return value of AxKit::get_config? What is it? and what is wrong with it? It's no sense debugging into something when you don't even know what you're after. I suggest going through the perl code, spreading 'AxKit::Debug(7,"message with data");' lines, turning AxDebugLevel to 7 or higher and first narrow down where a problem happens and exactly why. Something like "value $foo in the hash is not set" or so. Then see if the value should be set, checking config files and the like. Debugging into C code is rarely neccessary, unless your apache segfaults. CU J�rg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
