[xdebug-general] Stramge lineno in stack_get

From: Damjan Cvetko <zobo[@]scene-si.org>
Date: Tue, 9 Oct 2012 23:36:15 +0200

Hi Derick.

I'm updating and old client implementaion and got to an interesting issue.
When I use __autoload the stack level where the autload was initiated
doesn't have a valid lineno.

<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="
http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="xdc142">
<stack where="__autoload" level="0" type="file"
filename="file:///var/www/podsabotin/include/common.php" lineno="9"></stack>
<stack where="common::getDatabase" level="1" type="file"
filename="file:///var/www/podsabotin/include/common.php" lineno="0"></stack>
<stack where="{main}" level="2" type="file"
filename="file:///var/www/podsabotin/index.php" lineno="36"></stack>
</response>

Bug? Too old xd?

From php -i

PHP Version => 5.3.3-7+squeeze14
...
xdebug support => enabled
Version => 2.1.0

Supported protocols => Revision
DBGp - Common DeBuGger Protocol => $Revision: 1.145 $

Best regards,
Zobo
Received on Tue Oct 09 2012 - 22:36:17 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST