[xdebug-general] Re: $this construct crashes the debugger

From: Derick Rethans <derick[@]xdebug.org>
Date: Tue, 9 May 2006 23:30:17 +0200 (CEST)

On Tue, 9 May 2006, Hando Tint wrote:

> I get a debugger crash when doing
>
> 'property_get -n $this->something -i 1'
>
> For a whatever reason $this is actually retreivable, but after I add - sign
> after $this I get the crash.Ok, I know that $this- is not anything but it
> should not crash. And as luck would have it I sometimes escape the crash and
> actually get a result, but it is not quite often. And by crash I mean some
> kind of access violation.
>
> I tried to debug it myself but for some reason beyond me PHP does not load any
> ZEND extensions while in debug mode.

It does, but you need to use zend_extension_debug= instead of
zend_extension= .

>
> Quite vague explenation on my part but not being able to do better at the
> moment. Keep up the wonderful work and thanks in advance to any kind of help!

I fixed the bug now in CVS, thanks for the report. You can be more
helpful by filing a bugreport at http://bugs.xdebug.org in the future.
Here you should provide a short reproducable script, the Xdebug version
and the exact DBGp commands that you used. (You can create a log of
those with the xdebug.remote_log=/tmp/dbgp.log setting). This makes it
easier for me to keep track of things.

regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Tue May 09 2006 - 23:30:23 BST

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