[xdebug-dev] Bug 0000223: Line breakpoints not being hit

From: <noreply[@]lists.xdebug.org>
Date: Tue, 12 Dec 2006 13:58:33 +0100

The following bug has been RESOLVED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000223
======================================================================
Reporter: mathieuk
Handler: derick
======================================================================
Project: Xdebug
Bug ID: 223
Category: Usage problems
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Operating System: Windows XP sp2
PHP Version: 5.2.0
Xdebug Version: 2.0.0rc1
Resolution: not a bug
======================================================================
Date Submitted: 2006-11-26 19:00 CET
Last Modified: 2006-12-12 13:58 CET
======================================================================
Summary: Line breakpoints not being hit
Description:
When using XDebug 2.0.0RC1 on Windows XDebug is not hitting the breakpoints
that I've set through DBGP communication.

Expected behaviour:
===========================
A response to the Run message with status="break".

Actual behavior (see additional info):
===========================
A response to the Run message with status="stopped"

======================================================================

----------------------------------------------------------------------
 derick - 2006-11-26 19:12 CET
----------------------------------------------------------------------
How did you load Xdebug in php.ini? And can you provide a link to the
output of phpinfo()?

----------------------------------------------------------------------
 mathieuk - 2006-11-26 19:27 CET
----------------------------------------------------------------------
zend_extension_ts="C:/Program Files/xampp/php_xdebug.dll"
xdebug.remote_host="localhost"
xdebug.remote_enable=1
xdebug.extended_info=1
xdebug.remote_autostart=1

This is actually 2.0.0RC2 (http://pecl4win.php.net/ext.php/php_xdebug.dll)
but the behaviour was the same on RC1.

phpinfo is at http://scriptorama.nl/xdebug/xdebug.htm

edited on: 2006-11-26 19:27

----------------------------------------------------------------------
 mathieuk - 2006-11-26 19:27 CET
----------------------------------------------------------------------
I edited my note changing zend_extension to zend_extension_ts which is what
is actually used. Sorry for any confusion.

----------------------------------------------------------------------
 mathieuk - 2006-11-29 07:35 CET
----------------------------------------------------------------------
Fiddled around some more. Turns out the way I was encoding the filename was
the real problem:

When I used file:///C:\Program%20Files\xampp\htdocs\xdebug1.php instead of
file://C%3a%5cProgram+Files%5cxampp%5chtdocs%5cxdebug%5ctest1.php all was
well.

The problem lies in the space between 'Program' and 'Files'. It gets
encoded either as + or %20. XDebug doesn't like the + and I'm not sure
wether XDebug should accept them (I don't know the RFC's IETF RFC 1738 and
2396 too well :) ) but in any event it might be nice if Xdebug atleast gave
a heads up that something's wrong.

----------------------------------------------------------------------
 derick - 2006-12-12 13:58 CET
----------------------------------------------------------------------
I just checked the RFC and the file:// scheme doesn't say that + is
reserved, that's only in URLs. So it's not a bug. As the + is a valid
character for filenames, I don't think I can tell Xdebug to warn you about
it as it might be a false-positive. Thanks for checking this out though.

Bug History
Date Modified Username Field Change
======================================================================
2006-11-26 19:00mathieuk New Bug
2006-11-26 19:00mathieuk Bug Monitored: mathieuk
2006-11-26 19:12derick Bugnote Added: 0000496
2006-11-26 19:12derick Status new => feedback
2006-11-26 19:22mathieuk Bugnote Added: 0000497
2006-11-26 19:27mathieuk Bugnote Edited: 0000497
2006-11-26 19:27mathieuk Bugnote Added: 0000498
2006-11-29 07:35mathieuk Bugnote Added: 0000500
2006-12-12 13:58derick Bugnote Added: 0000516
2006-12-12 13:58derick Assigned To => derick
2006-12-12 13:58derick Resolution open => not a bug
2006-12-12 13:58derick Status feedback => resolved
======================================================================
Received on Tue Dec 12 2006 - 13:58:46 GMT

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