View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000223 | Xdebug | Uncategorized | public | 2006-11-26 19:00 | 2006-12-12 13:58 |
Reporter | mathieuk | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Summary | 0000223: 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" | ||||
Additional Information | The PHP script used (which does nothing in particular): <?php $y = 1995; for ($i = 0; $i < 10; $i++) ?> My program's debug output, including the DBGP messages sent & received: Waiting for connection ==========================================
| ||||
Tags | No tags attached. | ||||
Operating System | Windows XP sp2 | ||||
PHP Version | 5.2.0 | ||||
|
How did you load Xdebug in php.ini? And can you provide a link to the output of phpinfo()? |
|
zend_extension_ts="C:/Program Files/xampp/php_xdebug.dll" 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 |
|
I edited my note changing zend_extension to zend_extension_ts which is what is actually used. Sorry for any confusion. |
|
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. |
|
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. |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-11-26 19:00 | mathieuk | New Issue | |
2006-11-26 19:12 | derick | Note Added: 0000496 | |
2006-11-26 19:12 | derick | Status | new => feedback |
2006-11-26 19:22 | mathieuk | Note Added: 0000497 | |
2006-11-26 19:27 | mathieuk | Note Edited: 0000497 | |
2006-11-26 19:27 | mathieuk | Note Added: 0000498 | |
2006-11-29 07:35 | mathieuk | Note Added: 0000500 | |
2006-12-12 13:58 | derick | Status | feedback => resolved |
2006-12-12 13:58 | derick | Resolution | open => no change required |
2006-12-12 13:58 | derick | Assigned To | => derick |
2006-12-12 13:58 | derick | Note Added: 0000516 | |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |