On Wed, 28 Jan 2009, Viktor Semykin wrote:
> I'm new to xdebug and cannot make breakpoints work.
> My code is
>
> <?php
> function callf()
> {
> xdebug_break();
> echo 'Function Echo';
> }
>
> echo 'First Echo';
> callf();
> echo 'Last Echo';
>
> I set breakpoint with "breakpoint_set -t line -f %s -n 4 -i 1" and it appears
> in breakpoint list. Then Xdebug toggles explicit breakpoint at line 3 but
> doesn't toggle one at line 4. Setting breakpoint on any other line as well as
> '-t call' also doesn't work.
Can you add a remote debugging log, like is described under "Remote
Debugger Bugs" at http://xdebug.org/support.php
> $ php --version
> PHP 5.2.7 with Suhosin-Patch 0.9.6.3 (cli) (built: Dec 6 2008 19:42:20)
> Copyright (c) 1997-2008 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
> with Xdebug v2.0.3, Copyright (c) 2002-2007, by Derick Rethans
You should try to upgrade to 2.0.4 as well, although that shouldn't have
any influence here.
regards,
Derick
-- Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org twitter: derickrethansReceived on Wed Jan 28 2009 - 09:36:34 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST