[xdebug-general] Re: Missing line for offsetGet

From: Robert Pollai <robert.pollai[@]gmx.at>
Date: Thu, 25 Nov 2010 09:00:27 +0100

Hi Derick,

Thanks for the feedback. I logged the issue, id is 642:


Regards, Robert

-----Original Message-----
From: Derick Rethans [mailto:derick[@]xdebug.org]
Sent: 24 November 2010 16:21
To: Robert Pollai
Cc: xdebug-general[@]lists.xdebug.org
Subject: Re: [xdebug-general] Missing line for offsetGet

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


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 Thu Nov 25 2010 - 08:00:31 GMT

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