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

From: <xdebug-dev[@]lists.xdebug.org>
Date: Tue, 8 Feb 2005 15:03:13 +0100

The following NEW bug has been ADDED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000115
======================================================================
Reporter: juergen
Handler:
======================================================================
Project: Xdebug
Bug ID: 115
Category: Debug client (console)
Reproducibility: always
Severity: major
Priority: normal
Status: new
Operating System: testet with windows 2000 and XP
PHP Version: 5.0.3-dev
Xdebug Version: 2.0-dev
======================================================================
Date Submitted: 2005-02-08 15:03 CET
Last Modified: 2005-02-08 15:03 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
----------------------------------------------------
======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2005-02-08 15:03juergen New Bug
2005-02-08 15:03juergen Bug Monitored: juergen
======================================================================
Received on Tue Feb 08 2005 - 15:03:17 GMT

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