[xdebug-dev] Bug 0000115: remote debugging with php 5.0.3

From: <xdebug-dev[@]lists.xdebug.org>
Date: Tue, 24 Jan 2006 22:42:06 +0100

The following bug has been RESOLVED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000115
======================================================================
Reporter: juergen
Handler: derick
======================================================================
Project: Xdebug
Bug ID: 115
Category: Debug client (console)
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Operating System: testet with windows 2000 and XP
PHP Version: 5.0.4
Xdebug Version: 2.0.0rc1-dev
Resolution: unable to duplicate
======================================================================
Date Submitted: 2005-02-08 15:03 CET
Last Modified: 2006-01-24 22:42 CET
======================================================================
Summary: remote debugging with php 5.0.3
Description:
in combination with weaverslave remote debugging I have the following
problems:
the connection starts (see protocoll)
but the breakpoint was not reached.

protocol:
------begin of protocoll with php 5.0.3 -----------
This is Xdebug version 2.0.0beta3-dev.
Copyright 2002, 2003, 2004 by Derick Rethans,
>option response_format 1
>break D|/xampp/htdocs/phpinfo.php:2
>run
?init D:\xampp\htdocs\phpinfo.php
+OK
?init D:\xampp\htdocs\phpinfo.php
<xdebug><data><code>1</code><message>Breakpoint set on file:line
combination.</message></data></xdebug>
+OK
?init D:\xampp\htdocs\phpinfo.php
<xdebug><run><program>D:\xampp\htdocs\phpinfo.php</program></run></xdebug>
+OK
------ end of protocoll with php 5.0.3 ----------------
.... with xdebug 1.3.2 and php 4.3.10 I get these additional
lines ... and so all is ok!
---------begin additional protocoll ------------------
<xdebug><break><breakpoint><function><name>{main}</name><params></params></function><file>D:\xampp\htdocs\phpinfo.php</file><line>0</line></breakpoint><line
file='D:\xampp\htdocs\phpinfo.php' no='2'> echo "abc &lt;b
/&gt;";</line></break></xdebug>
>bt
>show-local
?cmd
<xdebug><backtrace><stackframe><level>1</level><function><name>{main}</name><params></params></function><file>D:\xampp\htdocs\phpinfo.php</file><line>0</line></stackframe></backtrace></xdebug>
+OK
?cmd
<xdebug><show></show></xdebug>
+OK
?cmd
------------ end additional protocoll -------------------

configuration in php.ini:
------------------------------------------------------
[Zend]
zend_extension_ts="d:\xampp\php\ext\php_xdebug_5_0__2_0dev.dll"
xdebug.remote_enable=on
xdebug.remote_mode=req
xdebug.remote_handler=gdb
xdebug.remote_host=localhost
xdebug.remote_port=17869

;nur Xdebug 2
xdebug.extended_info=1
----------------------------------------------------
======================================================================

----------------------------------------------------------------------
 juergen - 2005-02-16 13:51 CET
----------------------------------------------------------------------
I have also contact to Thomas Weinert - the autor of weaverslave.
His point of view ist: the error is not in weaverslave.
Is the "old" GDB-Protocoll furthermore supported in V 2.0 and is there
any change in the GDB-protocoll from 1.3.2 to 2.0 ?

----------------------------------------------------------------------
 derick - 2006-01-17 23:25 CET
----------------------------------------------------------------------
Is this still an issue for you?

----------------------------------------------------------------------
 derick - 2006-01-24 22:42 CET
----------------------------------------------------------------------
Can't reproduce this, nor did I receive any feedback whether this still is
an issue. Please reopen when you can provide the requested information.

Bug History
Date Modified Username Field Change
======================================================================
2005-02-08 15:03juergen New Bug
2005-02-08 15:03juergen Bug Monitored: juergen
2005-02-16 11:47derick Severity major => minor
2005-02-16 13:51juergen Bugnote Added: 0000231
2006-01-17 23:25derick Bugnote Added: 0000346
2006-01-17 23:25derick PHP Version 5.0.3-dev => 5.0.4
2006-01-17 23:25derick Xdebug Version 2.0-dev => 2.0.0rc1-dev
2006-01-17 23:25derick Status new => feedback
2006-01-24 22:42derick Bugnote Added: 0000363
2006-01-24 22:42derick Assigned To => derick
2006-01-24 22:42derick Resolution open => unable to duplicate
2006-01-24 22:42derick Status feedback => resolved
======================================================================
Received on Tue Jan 24 2006 - 22:42:11 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST