[xdebug-general] hi, about xdebug

From: Linux User <linuxuser09[@]gmx.com>
Date: Sun, 29 Nov 2009 12:07:24 -0500

Hi

While i'm in a debug session, for some reason, Xdebug doesn't want to collect
var values in a Function Local Scope. It stays as Uninitialized while I'm
outside the function all variables are set with their values. I'm using
Eclipse PDT with Xdebug? This is a copy of my Xdebug settings.

zend_extension = "/usr/lib/php5/extensions/xdebug.so"
xdebug.auto_trace = 0
;xdebug.trace_output_dir = /tmp
;xdebug.trace_output_name = crc32
;xdebug.trace_format = 0
;xdebug.trace_options = 0
;xdebug.collect_includes = 1
xdebug.collect_params = 0
xdebug.collect_return = 0
xdebug.collect_vars = 1
xdebug.default_enable = 1
;xdebug.extended_info = 1
;xdebug.manual_url = http://www.php.net
;xdebug.max_nesting_level = 100
;xdebug.show_exception_trace = 0
xdebug.show_local_vars = 1
;xdebug.show_mem_delta = 0
;xdebug.dump.COOKIE =
;xdebug.dump.ENV =
;xdebug.dump.FILES =
;xdebug.dump.GET =
;xdebug.dump.POST =
;xdebug.dump.REQUEST =
;xdebug.dump.SERVER =
;xdebug.dump.SESSION =
;xdebug.dump_globals = 1
;xdebug.dump_once = 1
;xdebug.dump_undefined = 0
;xdebug.profiler_enable = 0
;xdebug.profiler_output_dir = /tmp
;xdebug.profiler_output_name = crc32
;xdebug.profiler_enable_trigger = 0
;xdebug.profiler_append = 0
;xdebug.profiler_aggregate = 0
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_host = comp1.localnet.webwaredev.net
xdebug.remote_mode = req
xdebug.remote_port = 9000
xdebug.remote_autostart = 1
xdebug.remote_log = /var/log/xdebug.log
;xdebug.allowed_clients =
;xdebug.idekey = cristian
xdebug.var_display_max_children = 128
xdebug.var_display_max_data = 512
xdebug.var_display_max_depth = 2
 
Is there any more options I should be enabling in php.ini? To collect vars
inside a function?
Received on Sun Nov 29 2009 - 22:21:49 GMT

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