[xdebug-general] Re: Missing line for offsetGet

From: Derick Rethans <derick[@]xdebug.org>
Date: Wed, 24 Nov 2010 15:21:05 +0000 (GMT)

On Tue, 23 Nov 2010, Robert Pollai wrote:

> I am trying to profile a PHP script that uses the Doctrine framework. The
> script uses object['field'] to access values in Doctrine records. In the
> profiling output I see these as calls to offsetGet, however "Called from"
> contains only the file name but not the line number. For other calls I see
> the line number.
>
> Is there anything I can do to see the line number for the calls to
> offsetGet?

There is still a bug somewhere with fetching the line number for
internally called (automagic) methods. I don't think thre is a bug
report for it, so if you would: http://bugs.xdebug.org

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 Nov 24 2010 - 15:21:05 GMT

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