[xdebug-general] Re: XDebug + Eclipse + Ubuntu = not working

From: Дмитрий Хохлов <dmitry.hohlov[@]mail.ru>
Date: Wed, 8 Jun 2011 10:27:37 +0400

2011/6/1 Davide Tampellini <tampe125[@]gmail.com>:
> hi, i'm having some problems to debug with Eclipse under Ubuntu 11.04
>
> if i debug a page, Xdebug ignores the breakpoints completely; i have to
> manually insert xdebug_break() to stop the debugger.
>
> these are my settings on php.ini:
> zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so
> xdebug.profiler_enable = On
> xdebug.remote_enable=On
> xdebug.remote_host="localhost"
> xdebug.remote_port=9000
> xdebug.remote_handler="dbgp"
> xdebug.remote_autostart=1
>
> what't wrong?
> anyone can help me?

You probably need to set
xdebug.extended_info=1

Xdebug's documentation says that "this allows Xdebug to do file/line
breakpoints with the remote debugger". At least I can't get any
breakpoints to work when this is set to zero.

-- 
Best regards,
Dmitry Khokhlov (dmitry.hohlov[@]mail.ru)
Received on Wed Jun 08 2011 - 07:28:00 BST

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