[xdebug-dev] Bug 0000251: Using the source command with an invalid filename returns unexpected result

From: <noreply[@]lists.xdebug.org>
Date: Wed, 4 Apr 2007 13:12:04 +0200

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000251
======================================================================
Reporter: bhofmann
Handler:
======================================================================
Project: Xdebug
Bug ID: 251
Category: Usage problems
Reproducibility: always
Severity: trivial
Priority: normal
Status: closed
Operating System:
PHP Version: 5.1.6
Xdebug Version: 2.0.0rc4-dev
======================================================================
Date Submitted: 2007-04-02 15:25 CEST
Last Modified: 2007-04-04 13:12 CEST
======================================================================
Summary: Using the source command with an invalid filename returns unexpected result
Description:
If I use the dbgp "source" with an invalid filename (the file does not
exist for example), instead returning a response tag with the same
transaction_id as the command, I get the xdebug callstack return as a
stdout stream (as well as to the browser), and a response tag with empty
"command" and "transaction_id" attributes.
======================================================================

----------------------------------------------------------------------
 derick - 2007-04-03 22:33 CEST
----------------------------------------------------------------------
I can not reproduce this with latest cvs and php 5.2.2dev. Could you please
provide a test script and a full debugging log?

----------------------------------------------------------------------
 bhofmann - 2007-04-04 10:35 CEST
----------------------------------------------------------------------
I didn't find how to attach files here, so I sent it to you by mail.

----------------------------------------------------------------------
 derick - 2007-04-04 13:12 CEST
----------------------------------------------------------------------
Fixed in CVS - thanks for your report. The shortest reproducable list of
commands is:

stdout -i 104 -c 1
breakpoint_set -i 106 -t exception -x "Warning"
run -i 107
source -i 120 -f "file:///home%5Cbhofmann%5Cpublic_html%5Ctest.php"

Bug History
Date Modified Username Field Change
======================================================================
2007-04-02 15:25bhofmann New Bug
2007-04-02 15:25bhofmann Bug Monitored: bhofmann
2007-04-03 22:33derick Bugnote Added: 0000585
2007-04-03 22:33derick Status new => feedback
2007-04-03 22:33derick Bug Monitored: derick
2007-04-04 10:35bhofmann Bugnote Added: 0000586
2007-04-04 13:12derick Bugnote Added: 0000587
2007-04-04 13:12derick Status feedback => closed
======================================================================
Received on Wed Apr 04 2007 - 13:12:06 BST

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