Re: [PHP-DEV] Xdebug extension availability

2002-05-01 Thread derick

On Wed, 1 May 2002 [EMAIL PROTECTED] wrote:

> Does this require 4.2.0 or something?  I just tried to apply this to
> 4.1.2 and I get:

It does require latest PHP CVS (4.3.0dev) for now, but as soon as 4.2.1 is 
out I can make binary modules available. (That will be in a few days).

Derick

> 
> /configure enable-xdebug
> 
> ..
> ..
> ..
> 
> checking whether to enable eXtended debugging support... yes, shared
> /configure: line 902 syntax error near unexpected token
> 'PHP_NEW_EXTENSION(xdebug,'
> /configure: line 902 '  PHP_NEW_EXTENSION(xdebug, xdebug.c srm_list.c,
> $ext_shared)'
> 
> I also tried to use this module static by adding the cdebug directory in
> php4/ext/, running ./buildconf then ./configure.  I get the same errors
> on a different line of configure.
> 
> (I prefer an all static build for my servers.)
> 
> 
> Thanks,
> Rick
> 
> 
> Who still hopes to see this a standard part of PHP as soon as possible!
> 
> 
> 
> Rick Widmer
> Internet Marketing Specialists
> http://www.developersdesk.com
> 

---
 Did I help you? Consider a gift:
  http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B
---
  PHP: Scripting the Web - [EMAIL PROTECTED]
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---


-- 
PHP Development Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Xdebug extension availability

2002-05-01 Thread php4

Addressed to: Derick Rethans <[EMAIL PROTECTED]>
  PHP Developers Mailing List <[EMAIL PROTECTED]>

** Reply to note from Derick Rethans <[EMAIL PROTECTED]> Wed, 1 May 2002 16:20:52 
+0200 (CEST)

I just looked at the message I just sent, and in a few places 
I see /configure where I swear I typed ./configure.







Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com

-- 
PHP Development Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Xdebug extension availability

2002-05-01 Thread php4

Addressed to: Derick Rethans <[EMAIL PROTECTED]>
  PHP Developers Mailing List <[EMAIL PROTECTED]>

** Reply to note from Derick Rethans <[EMAIL PROTECTED]> Wed, 1 May 2002 16:20:52 
+0200 (CEST)
>   
> Hello,
>   
> I'm happy to announce the availability of the xdebug extension. This 
> extension modifies the php error handler to show stack traces. With
> this  you can exactly see how the current function was called, even the
>  parameters show up (if they are constants). I'm still working on
> variable  parameters. 

Does this require 4.2.0 or something?  I just tried to apply this to
4.1.2 and I get:

/configure enable-xdebug

..
..
..

checking whether to enable eXtended debugging support... yes, shared
/configure: line 902 syntax error near unexpected token
'PHP_NEW_EXTENSION(xdebug,'
/configure: line 902 '  PHP_NEW_EXTENSION(xdebug, xdebug.c srm_list.c,
$ext_shared)'

I also tried to use this module static by adding the cdebug directory in
php4/ext/, running ./buildconf then ./configure.  I get the same errors
on a different line of configure.

(I prefer an all static build for my servers.)


Thanks,
Rick


Who still hopes to see this a standard part of PHP as soon as possible!



Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com

-- 
PHP Development Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Xdebug extension availability

2002-05-01 Thread Derick Rethans

Hello,

I'm happy to announce the availability of the xdebug extension. This 
extension modifies the php error handler to show stack traces. With this 
you can exactly see how the current function was called, even the 
parameters show up (if they are constants). I'm still working on variable 
parameters. 

Besides the stack traces the extension also provides the following 
functions:

array xdebug_get_function_stack()
- Returns an array which resembles a stack tracestring 

xdebug_call_function()
- The name of the caller function

string xdebug_call_file()
- The file in which the caller function was run

int xdebug_call_line()
- The line in the caller file from which the current function was started

See the website @ http://www.jdimedia.nl/derick/xdebug.php for more 
information and the download location.


regards,
Derick

---
 Did I help you? Consider a gift:
  http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B
---
  PHP: Scripting the Web - [EMAIL PROTECTED]
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---



-- 
PHP Development Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php