View Issue Details

IDProjectCategoryView StatusLast Update
0000868Xdebugpublic2012-07-16 18:05
Reporterollietb Assigned Toderick  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformWindows/Netbeans 7.0.1OSWindowsOS VersionWindows 7
Product Version2.2.1 
Fixed in Version2.2.1 
Summary0000868: Socket Exception in Netbeans
Description

I've just upgraded PHP (using XAMPP 3.0.12) to PHP 5.4 and I've encountered an error when booting Symfony2. I've managed to isolate the code which is causing the exception. It appears to be when instantiating a static class which has public attributes (see the attachments).

I'm using the version of xdebug which comes with XAMPP (it says it's xdebug 2.2). I tried upgrading the version to php_xdebug-2.2.0-5.4-vc9.dll but it fails silently.

Steps To Reproduce
  1. Attach breakpoint to last line of xdebugTest.php
  2. Navigate to xdebugTest.php in browser with xdebug cookie
  3. Step through execution
  4. Inspect the $request variable

I can avoid the exception if I comment out the last attribute specified on the Request class (public $query on line 17).

Additional Information

PHP Version 5.4.4

xdebug

xdebug support enabled
Version 2.2.0
IDE Key netbeans-xdebug

Supported protocols Revision
DBGp - Common DeBuGger Protocol $Revision: 1.145 $

Directive Local Value Master Value
xdebug.auto_trace Off Off
xdebug.cli_color 0 0
xdebug.collect_assignments Off Off
xdebug.collect_includes On On
xdebug.collect_params 0 0
xdebug.collect_return Off Off
xdebug.collect_vars Off Off
xdebug.coverage_enable On On
xdebug.default_enable On On
xdebug.dump.COOKIE no value no value
xdebug.dump.ENV no value no value
xdebug.dump.FILES no value no value
xdebug.dump.GET no value no value
xdebug.dump.POST no value no value
xdebug.dump.REQUEST no value no value
xdebug.dump.SERVER no value no value
xdebug.dump.SESSION no value no value
xdebug.dump_globals On On
xdebug.dump_once On On
xdebug.dump_undefined Off Off
xdebug.extended_info On On
xdebug.file_link_format no value no value
xdebug.idekey no value no value
xdebug.manual_url http://www.php.net http://www.php.net
xdebug.max_nesting_level 150 150
xdebug.overload_var_dump On On
xdebug.profiler_aggregate Off Off
xdebug.profiler_append Off Off
xdebug.profiler_enable Off Off
xdebug.profiler_enable_trigger Off Off
xdebug.profiler_output_dir E:\xampp3\tmp E:\xampp3\tmp
xdebug.profiler_output_name xdebug_profile.%R::%u xdebug_profile.%R::%u
xdebug.remote_autostart Off Off
xdebug.remote_connect_back Off Off
xdebug.remote_cookie_expire_time 3600 3600
xdebug.remote_enable On On
xdebug.remote_handler dbgp dbgp
xdebug.remote_host localhost localhost
xdebug.remote_log E:\xampp3\tmp\xdebug.log E:\xampp3\tmp\xdebug.log
xdebug.remote_mode req req
xdebug.remote_port 9000 9000
xdebug.scream Off Off
xdebug.show_exception_trace Off Off
xdebug.show_local_vars Off Off
xdebug.show_mem_delta Off Off
xdebug.trace_enable_trigger Off Off
xdebug.trace_format 0 0
xdebug.trace_options 0 0
xdebug.trace_output_dir E:\xampp3\tmp E:\xampp3\tmp
xdebug.trace_output_name trace.%c trace.%c
xdebug.var_display_max_children 128 128
xdebug.var_display_max_data 512 512
xdebug.var_display_max_depth 3 3

TagsNo tags attached.
Attached Files
xdebugTest.php (2,049 bytes)
xdebug - Copy.log (27,925 bytes)
Operating System
PHP Version5.4.4

Activities

ollietb

2012-07-16 17:41

reporter   ~0002327

OK I've just downloaded the latest version 2.2.1 (the wizard told me to download 2.2.0) and it looks like it's fixed the problem. Thanks.

derick

2012-07-16 18:05

administrator   ~0002328

Thanks - And I've also fixed the wizard now.

Issue History

Date Modified Username Field Change
2012-07-16 17:28 ollietb New Issue
2012-07-16 17:28 ollietb File Added: xdebugTest.php
2012-07-16 17:29 ollietb File Added: xdebug - Copy.log
2012-07-16 17:33 ollietb File Added: Fullscreen capture 16072012 183111.bmp.jpg
2012-07-16 17:33 ollietb File Added: Fullscreen capture 16072012 183130.bmp.jpg
2012-07-16 17:41 ollietb Note Added: 0002327
2012-07-16 18:05 derick Note Added: 0002328
2012-07-16 18:05 derick Status new => resolved
2012-07-16 18:05 derick Fixed in Version => 2.2.1
2012-07-16 18:05 derick Resolution open => fixed
2012-07-16 18:05 derick Assigned To => derick
2016-07-31 12:35 derick Category Debug client (console) => debugclient (debugging tool)
2016-07-31 12:35 derick Category debugclient (debugging tool) => (No Category)