Re: [PHP-DEV] how to debug a php extension...

2002-07-16 Thread Ron Lange
Hi David, hi Joseph, thanks a lot, I have a very helpful backtrace now. Regards Ron David Eriksson wrote: > On Tue, 16 Jul 2002, Ron Lange wrote: > >> hi, >> in which way I could debug my extension (builtin, apachemodule)? >> unfortunately I get segmentation faults of the forked apache proc, a

RE: [PHP-DEV] how to debug a php extension...

2002-07-16 Thread Joseph Tate
Which platform are you on? Linux? Look for 'How to generate a backtrace' on the php.net website, as David posted. Windows? Limit the number of active server processes to 1, then using MSDEV, attach to the running apache process. (It'll help if both apache and your extension are built in debug

Re: [PHP-DEV] how to debug a php extension...

2002-07-16 Thread David Eriksson
On Tue, 16 Jul 2002, Ron Lange wrote: > hi, > in which way I could debug my extension (builtin, apachemodule)? > unfortunately I get segmentation faults of the forked apache proc, and I can > only guess where it is. It's in a particular place, where I set up a socket > and two fds. I don't use