[xdebug-general] Re: Stramge lineno in stack_get

From: Derick Rethans <derick[@]xdebug.org>
Date: Wed, 10 Oct 2012 10:23:30 +0100 (BST)

On Tue, 9 Oct 2012, Damjan Cvetko wrote:

> 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

Probably too old. Please upgrade to 2.2.1 and try again :-)

cheers,
Derick

-- 
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Wed Oct 10 2012 - 10:23:31 BST

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