最近在eclipse中用xdebug调试,单步跟踪时函数调用时传入的参数值总是显示为uninitialized。但其他的如本地变量,抄变量等都没有问题。而且如果把参数传入值加到watch里面,也能显示正确,很郁闷。请高手帮忙。
我的php -v结果:
apple:$ php -v
PHP 5.3.1 (cli) (built: Feb 27 2010 12:41:51) 
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
    with Xdebug v2.0.4, Copyright (c) 2002-2008, by Derick Rethansphp.ini里配置了xdebug如下
[xdebug]
xdebug.auto_trace=On
xdebug.collect_params=On
xdebug.collect_return=On
xdebug.profiler_enable=On
xdebug.default_enable=on
xdebug.max_nesting_level=50
xdebug.profiler_enable=On
xdebug.remote_enable=On
xdebug.remote_host=localhost
xdebug.remote.port=9000
xdebug.remote_handler=dbgp
xdebug.dump_undefined=On
xdebug.show_local_vars=On