[xdebug-general] remote debugging with v1.3.2

From: Joe Devietti <joe.devietti[@]sfcu.upenn.edu>
Date: Tue, 8 Mar 2005 16:16:06 -0500

I've gotten Xdebug 1.3.2 installed (with Apache2 and PHP 5.0.3 on FreeBSD
4.11) via FreeBSD's ports. I load the extension with
'zend_extension_debug=xdebug.so' (nothing else would work) and it shows up
twice in phpinfo(): once by the Zend engine description, and again with a
description of its parameters. So I think it's installed correctly. Calling
the various xdebug_* functions within my pages works just fine.

However, I cannot get a remote debugging session to work. The client (I've
tried both 0.7.0 and 0.9.0 under Mandrake Linux 10.1, with various
permutations of remote_port as 17869 and 9000, and remote_handler as 'gdb'
and 'dbgp'). It seems that 0.7.0 requires port 17869 and 'gdb', and 0.9.0
port 9000 and 'dbgp'. With 0.7.0, when I load a webpage in a browser by
appending '?XDEBUG_SESSION_START=start' to the URL, the client says "accept:
Invalid argument" and closes. On 0.9.0, it says:
        connect
        disconnect
and then goes back to waiting for another connection. So the server is
sending something to the client, but not the <init></init> packet?

Any suggestions? I've had trouble compiling v2.0.0 under FreeBSD, because of
libtool issues, so I'd rather stick with 1.3.2. I don't need any fancy
profiling, just basic commandline debugging. Thanks in advance.

joe devietti
Received on Tue Mar 08 2005 - 22:16:32 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST