我在Ubuntu 10.04 LTSXdebug的VIM插件不顯示變量值(PHP)
VIM版本7.2.330
Xdebug的vim的插件版本1.1.1(從http://www.vim.org/scripts/script.php?script_id=1929下載)
PHP 5.3.2
阿帕奇/ 2.2.14
Xdebug的V2.0.5
我在/etc/php5/apache2/php.ini
文件這些選項
[debug]
; Remote settings
xdebug.remote_autostart=off
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000
; General
xdebug.auto_trace=off
xdebug.collect_includes=on
xdebug.collect_params=off
xdebug.collect_return=off
xdebug.default_enable=on
xdebug.extended_info=1
xdebug.manual_url=http://www.php.net
xdebug.show_local_vars=0 (tried with 1, same result)
xdebug.show_mem_delta=0
xdebug.max_nesting_level=100
;xdebug.idekey=
; Trace options
xdebug.trace_format=0
xdebug.trace_output_dir=/tmp
xdebug.trace_options=0
xdebug.trace_output_name=crc32
; Profiling
xdebug.profiler_append=0
xdebug.profiler_enable=0
xdebug.profiler_enable_trigger=0
xdebug.profiler_output_dir=/tmp
xdebug.profiler_output_name=crc32
當我按下F12顯示,而不是顯示它像例如該圖像http://2bits.com/sites/2bits.com/files/vim-debug-displaying-variables.png(右上窗口)我得到這個/*{{{1*/ => property_get: file
當我按下F12的變量的內容,在$file
var。
我也嘗試附加到這篇文章 http://2bits.com/articles/using-vim-and-xdebug-dbgp-for-debugging-drupal-or-any-php-application.html
結果相同的版本。
我也發現了幾乎相同的懸而未決的問題在這裏xdebug does not show the content of array?
預先感謝您的任何建議
截圖:http://img141.imageshack.us/img141/2637/screenshot3cf.png – dwarder 2011-03-29 04:29:09
Python版本2.6.5(使用vim的插件) – dwarder 2011-03-29 04:36:45
在vim我有+號和+蟒蛇 – dwarder 2011-03-29 05:03:51