Re: [PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-14 Thread Adi Mutu
12 7:36 PM Subject: Re: [PHP-DEV] how to debug a php script ( the C code beneath it) On Tue, Feb 14, 2012 at 6:28 PM, Rasmus Lerdorf wrote: On 02/14/2012 09:22 AM, Adi Mutu wrote: >> Thanks Julien >> >> I don't know french, but i'll read it using google translat

Re: [PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-14 Thread Adi Mutu
12 7:36 PM Subject: Re: [PHP-DEV] how to debug a php script ( the C code beneath it) On Tue, Feb 14, 2012 at 6:28 PM, Rasmus Lerdorf wrote: > On 02/14/2012 09:22 AM, Adi Mutu wrote: > > Thanks Julien > > > > I don't know french, but i'll read it using googl

Re: [PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-14 Thread jpauli
On Tue, Feb 14, 2012 at 6:28 PM, Rasmus Lerdorf wrote: > On 02/14/2012 09:22 AM, Adi Mutu wrote: > > Thanks Julien > > > > I don't know french, but i'll read it using google translate:) > > If you just want to see some of the function calls, most calls that are > visible in userspace are pref

Re: [PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-14 Thread Rasmus Lerdorf
On 02/14/2012 09:22 AM, Adi Mutu wrote: > Thanks Julien > > I don't know french, but i'll read it using google translate:) If you just want to see some of the function calls, most calls that are visible in userspace are prefixed with "zif_" internally. eg. % gdb sapi/cli/php GNU gdb (Ubuntu

Re: [PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-14 Thread Adi Mutu
_ >  From: Ángel González > To: Adi Mutu > Cc: PHP Developers Mailing List > Sent: Tuesday, February 14, 2012 1:11 AM > Subject: Re: [PHP-DEV] how to debug a php script ( the C code beneath it) > > On 13/02/12 21:48, Adi Mutu wrote: > > Hello, > > > > Per

Re: [PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-14 Thread jpauli
zález > To: Adi Mutu > Cc: PHP Developers Mailing List > Sent: Tuesday, February 14, 2012 1:11 AM > Subject: Re: [PHP-DEV] how to debug a php script ( the C code beneath it) > > On 13/02/12 21:48, Adi Mutu wrote: > > Hello, > > > > Perhaps this is a stupid question,

Re: [PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-13 Thread Adi Mutu
From: Ángel González To: Adi Mutu Cc: PHP Developers Mailing List Sent: Tuesday, February 14, 2012 1:11 AM Subject: Re: [PHP-DEV] how to debug a php script ( the C code beneath it) On 13/02/12 21:48, Adi Mutu wrote: > Hello, > > Perhaps this is a stupid question, but i haven't

RE: [PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-13 Thread Clint M Priest
opers Mailing List Subject: Re: [PHP-DEV] how to debug a php script ( the C code beneath it) It's also nice to see what PHP is actually doing and a way to learn the internals of PHP. 2012/2/13 Ángel González > On 13/02/12 21:48, Adi Mutu wrote: > > Hello, > > > > Perhaps t

Re: [PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-13 Thread Yader Hernandez
It's also nice to see what PHP is actually doing and a way to learn the internals of PHP. 2012/2/13 Ángel González > On 13/02/12 21:48, Adi Mutu wrote: > > Hello, > > > > Perhaps this is a stupid question, but i haven't coded in C in years and > i'm not very familiar with development/debugging t

Re: [PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-13 Thread Ángel González
On 13/02/12 21:48, Adi Mutu wrote: > Hello, > > Perhaps this is a stupid question, but i haven't coded in C in years and i'm > not very familiar with development/debugging tools. If I have a php script > say 20 lines, > How can I see a path of the corresponding C code which is executed? What If i

[PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-13 Thread Adi Mutu
Hello, Perhaps this is a stupid question, but i haven't coded in C in years and i'm not very familiar with development/debugging tools. If I have a php script say 20 lines, How can I see a path of the corresponding C code which is executed? What If i would like to break at a certain php line